{X=q,ne=P.now(),V||(V=P.schedule(re,Q),N.add(V))},()=>{ve(),N.complete()},void 0,()=>{X=V=null}))})}},3572:(gt,Ce,m)=>{"use strict";m.d(Ce,{d:()=>H});var e=m(9360),F=m(8251);function H(R){return(0,e.e)((Q,P)=>{let ie=!1;Q.subscribe((0,F.x)(P,N=>{ie=!0,P.next(N)},()=>{ie||P.next(R),P.complete()}))})}},5177:(gt,Ce,m)=>{"use strict";m.d(Ce,{g:()=>re});var e=m(6321),F=m(5211),H=m(8180),R=m(9360),Q=m(8251),P=m(2420),N=m(975),V=m(1631),X=m(4829);function ne(q,le){return le?se=>(0,F.z)(le.pipe((0,H.q)(1),function ie(){return(0,R.e)((q,le)=>{q.subscribe((0,Q.x)(le,P.Z))})}()),se.pipe(ne(q))):(0,V.z)((se,J)=>(0,X.Xf)(q(se,J)).pipe((0,H.q)(1),(0,N.h)(se)))}var ve=m(4825);function re(q,le=e.z){const se=(0,ve.H)(q,le);return ne(()=>se)}},3997:(gt,Ce,m)=>{"use strict";m.d(Ce,{x:()=>R});var e=m(2737),F=m(9360),H=m(8251);function R(P,ie=e.y){return P=P??Q,(0,F.e)((N,V)=>{let X,ne=!0;N.subscribe((0,H.x)(V,ve=>{const re=ie(ve);(ne||!P(X,re))&&(ne=!1,X=re,V.next(ve))}))})}function Q(P,ie){return P===ie}},2181:(gt,Ce,m)=>{"use strict";m.d(Ce,{h:()=>H});var e=m(9360),F=m(8251);function H(R,Q){return(0,e.e)((P,ie)=>{let N=0;P.subscribe((0,F.x)(ie,V=>R.call(Q,V,N++)&&ie.next(V)))})}},4716:(gt,Ce,m)=>{"use strict";m.d(Ce,{x:()=>F});var e=m(9360);function F(H){return(0,e.e)((R,Q)=>{try{R.subscribe(Q)}finally{Q.add(H)}})}},1374:(gt,Ce,m)=>{"use strict";m.d(Ce,{P:()=>ie});var e=m(6973),F=m(2181),H=m(8180),R=m(3572),Q=m(3026),P=m(2737);function ie(N,V){const X=arguments.length>=2;return ne=>ne.pipe(N?(0,F.h)((ve,re)=>N(ve,re,ne)):P.y,(0,H.q)(1),X?(0,R.d)(V):(0,Q.T)(()=>new e.K))}},7398:(gt,Ce,m)=>{"use strict";m.d(Ce,{U:()=>H});var e=m(9360),F=m(8251);function H(R,Q){return(0,e.e)((P,ie)=>{let N=0;P.subscribe((0,F.x)(ie,V=>{ie.next(R.call(Q,V,N++))}))})}},975:(gt,Ce,m)=>{"use strict";m.d(Ce,{h:()=>F});var e=m(7398);function F(H){return(0,e.U)(()=>H)}},7537:(gt,Ce,m)=>{"use strict";m.d(Ce,{J:()=>H});var e=m(1631),F=m(2737);function H(R=1/0){return(0,e.z)(F.y,R)}},1631:(gt,Ce,m)=>{"use strict";m.d(Ce,{z:()=>N});var e=m(7398),F=m(4829),H=m(9360),R=m(7103),Q=m(8251),ie=m(4674);function N(V,X,ne=1/0){return(0,ie.m)(X)?N((ve,re)=>(0,e.U)((q,le)=>X(ve,q,re,le))((0,F.Xf)(V(ve,re))),ne):("number"==typeof X&&(ne=X),(0,H.e)((ve,re)=>function P(V,X,ne,ve,re,q,le,se){const J=[];let oe=0,fe=0,Re=!1;const Pe=()=>{Re&&!J.length&&!oe&&X.complete()},Te=De=>oe{q&&X.next(De),oe++;let Fe=!1;(0,F.Xf)(ne(De,fe++)).subscribe((0,Q.x)(X,Ve=>{re?.(Ve),q?Te(Ve):X.next(Ve)},()=>{Fe=!0},void 0,()=>{if(Fe)try{for(oe--;J.length&&oe ye(Ve)):ye(Ve)}Pe()}catch(Ve){X.error(Ve)}}))};return V.subscribe((0,Q.x)(X,Te,()=>{Re=!0,Pe()})),()=>{se?.()}}(ve,re,V,ne)))}},3093:(gt,Ce,m)=>{"use strict";m.d(Ce,{Q:()=>R});var e=m(7103),F=m(9360),H=m(8251);function R(Q,P=0){return(0,F.e)((ie,N)=>{ie.subscribe((0,H.x)(N,V=>(0,e.f)(N,Q,()=>N.next(V),P),()=>(0,e.f)(N,Q,()=>N.complete(),P),V=>(0,e.f)(N,Q,()=>N.error(V),P)))})}},9636:(gt,Ce,m)=>{"use strict";m.d(Ce,{n:()=>ne});var e=m(8645),F=m(3168),H=m(4674),R=m(4829),Q=m(9360),P=m(5592);const N={connector:()=>new e.x};function V(ve,re=N){const{connector:q}=re;return(0,Q.e)((le,se)=>{const J=q();(0,R.Xf)(ve(function ie(ve){return new P.y(re=>ve.subscribe(re))}(J))).subscribe(se),se.add(le.subscribe(J))})}function ne(ve){return ve?re=>V(ve)(re):re=>function X(ve,re){const q=(0,H.m)(ve)?ve:()=>ve;return(0,H.m)(re)?V(re,{connector:q}):le=>new F.c(le,q)}(new e.x)(re)}},6196:(gt,Ce,m)=>{"use strict";m.d(Ce,{x:()=>H});var e=m(9360),F=m(8251);function H(){return(0,e.e)((R,Q)=>{let P=null;R._refCount++;const ie=(0,F.x)(Q,void 0,void 0,void 0,()=>{if(!R||R._refCount<=0||0<--R._refCount)return void(P=null);const N=R._connection,V=P;P=null,N&&(!V||N===V)&&N.unsubscribe(),Q.unsubscribe()});R.subscribe(ie),ie.closed||(P=R.connect())})}},3020:(gt,Ce,m)=>{"use strict";m.d(Ce,{B:()=>Q});var e=m(4829),F=m(8645),H=m(305),R=m(9360);function Q(ie={}){const{connector:N=(()=>new F.x),resetOnError:V=!0,resetOnComplete:X=!0,resetOnRefCountZero:ne=!0}=ie;return ve=>{let re,q,le,se=0,J=!1,oe=!1;const fe=()=>{q?.unsubscribe(),q=void 0},Re=()=>{fe(),re=le=void 0,J=oe=!1},Pe=()=>{const Te=re;Re(),Te?.unsubscribe()};return(0,R.e)((Te,ye)=>{se++,!oe&&!J&&fe();const De=le=le??N();ye.add(()=>{se--,0===se&&!oe&&!J&&(q=P(Pe,ne))}),De.subscribe(ye),!re&&se>0&&(re=new H.Hp({next:Fe=>De.next(Fe),error:Fe=>{oe=!0,fe(),q=P(Re,V,Fe),De.error(Fe)},complete:()=>{J=!0,fe(),q=P(Re,X),De.complete()}}),(0,e.Xf)(Te).subscribe(re))})(ve)}}function P(ie,N,...V){if(!0===N)return void ie();if(!1===N)return;const X=new H.Hp({next:()=>{X.unsubscribe(),ie()}});return(0,e.Xf)(N(...V)).subscribe(X)}},7081:(gt,Ce,m)=>{"use strict";m.d(Ce,{d:()=>H});var e=m(7328),F=m(3020);function H(R,Q,P){let ie,N=!1;return R&&"object"==typeof R?({bufferSize:ie=1/0,windowTime:Q=1/0,refCount:N=!1,scheduler:P}=R):ie=R??1/0,(0,F.B)({connector:()=>new e.t(ie,Q,P),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:N})}},7921:(gt,Ce,m)=>{"use strict";m.d(Ce,{O:()=>R});var e=m(5211),F=m(9940),H=m(9360);function R(...Q){const P=(0,F.yG)(Q);return(0,H.e)((ie,N)=>{(P?(0,e.z)(Q,ie,P):(0,e.z)(Q,ie)).subscribe(N)})}},4664:(gt,Ce,m)=>{"use strict";m.d(Ce,{w:()=>R});var e=m(4829),F=m(9360),H=m(8251);function R(Q,P){return(0,F.e)((ie,N)=>{let V=null,X=0,ne=!1;const ve=()=>ne&&!V&&N.complete();ie.subscribe((0,H.x)(N,re=>{V?.unsubscribe();let q=0;const le=X++;(0,e.Xf)(Q(re,le)).subscribe(V=(0,H.x)(N,se=>N.next(P?P(re,se,le,q++):se),()=>{V=null,ve()}))},()=>{ne=!0,ve()}))})}},8180:(gt,Ce,m)=>{"use strict";m.d(Ce,{q:()=>R});var e=m(6232),F=m(9360),H=m(8251);function R(Q){return Q<=0?()=>e.E:(0,F.e)((P,ie)=>{let N=0;P.subscribe((0,H.x)(ie,V=>{++N<=Q&&(ie.next(V),Q<=N&&ie.complete())}))})}},9773:(gt,Ce,m)=>{"use strict";m.d(Ce,{R:()=>Q});var e=m(9360),F=m(8251),H=m(4829),R=m(2420);function Q(P){return(0,e.e)((ie,N)=>{(0,H.Xf)(P).subscribe((0,F.x)(N,()=>N.complete(),R.Z)),!N.closed&&ie.subscribe(N)})}},812:(gt,Ce,m)=>{"use strict";m.d(Ce,{o:()=>H});var e=m(9360),F=m(8251);function H(R,Q=!1){return(0,e.e)((P,ie)=>{let N=0;P.subscribe((0,F.x)(ie,V=>{const X=R(V,N++);(X||Q)&&ie.next(V),!X&&ie.complete()}))})}},9397:(gt,Ce,m)=>{"use strict";m.d(Ce,{b:()=>Q});var e=m(4674),F=m(9360),H=m(8251),R=m(2737);function Q(P,ie,N){const V=(0,e.m)(P)||ie||N?{next:P,error:ie,complete:N}:P;return V?(0,F.e)((X,ne)=>{var ve;null===(ve=V.subscribe)||void 0===ve||ve.call(V);let re=!0;X.subscribe((0,H.x)(ne,q=>{var le;null===(le=V.next)||void 0===le||le.call(V,q),ne.next(q)},()=>{var q;re=!1,null===(q=V.complete)||void 0===q||q.call(V),ne.complete()},q=>{var le;re=!1,null===(le=V.error)||void 0===le||le.call(V,q),ne.error(q)},()=>{var q,le;re&&(null===(q=V.unsubscribe)||void 0===q||q.call(V)),null===(le=V.finalize)||void 0===le||le.call(V)}))}):R.y}},3026:(gt,Ce,m)=>{"use strict";m.d(Ce,{T:()=>R});var e=m(6973),F=m(9360),H=m(8251);function R(P=Q){return(0,F.e)((ie,N)=>{let V=!1;ie.subscribe((0,H.x)(N,X=>{V=!0,N.next(X)},()=>V?N.complete():N.error(P())))})}function Q(){return new e.K}},2460:(gt,Ce,m)=>{"use strict";m.d(Ce,{M:()=>ie});var e=m(9360),F=m(8251),H=m(4829),R=m(2737),Q=m(2420),P=m(9940);function ie(...N){const V=(0,P.jO)(N);return(0,e.e)((X,ne)=>{const ve=N.length,re=new Array(ve);let q=N.map(()=>!1),le=!1;for(let se=0;se {re[se]=J,!le&&!q[se]&&(q[se]=!0,(le=q.every(R.y))&&(q=null))},Q.Z));X.subscribe((0,F.x)(ne,se=>{if(le){const J=[se,...re];ne.next(V?V(...J):J)}}))})}},1954:(gt,Ce,m)=>{"use strict";m.d(Ce,{o:()=>Q});var e=m(7394);class F extends e.w0{constructor(ie,N){super()}schedule(ie,N=0){return this}}const H={setInterval(P,ie,...N){const{delegate:V}=H;return V?.setInterval?V.setInterval(P,ie,...N):setInterval(P,ie,...N)},clearInterval(P){const{delegate:ie}=H;return(ie?.clearInterval||clearInterval)(P)},delegate:void 0};var R=m(9039);class Q extends F{constructor(ie,N){super(ie,N),this.scheduler=ie,this.work=N,this.pending=!1}schedule(ie,N=0){var V;if(this.closed)return this;this.state=ie;const X=this.id,ne=this.scheduler;return null!=X&&(this.id=this.recycleAsyncId(ne,X,N)),this.pending=!0,this.delay=N,this.id=null!==(V=this.id)&&void 0!==V?V:this.requestAsyncId(ne,this.id,N),this}requestAsyncId(ie,N,V=0){return H.setInterval(ie.flush.bind(ie,this),V)}recycleAsyncId(ie,N,V=0){if(null!=V&&this.delay===V&&!1===this.pending)return N;null!=N&&H.clearInterval(N)}execute(ie,N){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const V=this._execute(ie,N);if(V)return V;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ie,N){let X,V=!1;try{this.work(ie)}catch(ne){V=!0,X=ne||new Error("Scheduled action threw falsy error")}if(V)return this.unsubscribe(),X}unsubscribe(){if(!this.closed){const{id:ie,scheduler:N}=this,{actions:V}=N;this.work=this.state=this.scheduler=null,this.pending=!1,(0,R.P)(V,this),null!=ie&&(this.id=this.recycleAsyncId(N,ie,null)),this.delay=null,super.unsubscribe()}}}},2631:(gt,Ce,m)=>{"use strict";m.d(Ce,{v:()=>H});var e=m(4552);class F{constructor(Q,P=F.now){this.schedulerActionCtor=Q,this.now=P}schedule(Q,P=0,ie){return new this.schedulerActionCtor(this,Q).schedule(ie,P)}}F.now=e.l.now;class H extends F{constructor(Q,P=F.now){super(Q,P),this.actions=[],this._active=!1}flush(Q){const{actions:P}=this;if(this._active)return void P.push(Q);let ie;this._active=!0;do{if(ie=Q.execute(Q.state,Q.delay))break}while(Q=P.shift());if(this._active=!1,ie){for(;Q=P.shift();)Q.unsubscribe();throw ie}}}},6321:(gt,Ce,m)=>{"use strict";m.d(Ce,{P:()=>R,z:()=>H});var e=m(1954);const H=new(m(2631).v)(e.o),R=H},4552:(gt,Ce,m)=>{"use strict";m.d(Ce,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},7599:(gt,Ce,m)=>{"use strict";m.d(Ce,{z:()=>e});const e={setTimeout(F,H,...R){const{delegate:Q}=e;return Q?.setTimeout?Q.setTimeout(F,H,...R):setTimeout(F,H,...R)},clearTimeout(F){const{delegate:H}=e;return(H?.clearTimeout||clearTimeout)(F)},delegate:void 0}},4971:(gt,Ce,m)=>{"use strict";m.d(Ce,{h:()=>F});const F=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(gt,Ce,m)=>{"use strict";m.d(Ce,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(gt,Ce,m)=>{"use strict";m.d(Ce,{K:()=>F});const F=(0,m(2306).d)(H=>function(){H(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(gt,Ce,m)=>{"use strict";m.d(Ce,{_6:()=>P,jO:()=>R,yG:()=>Q});var e=m(4674),F=m(671);function H(ie){return ie[ie.length-1]}function R(ie){return(0,e.m)(H(ie))?ie.pop():void 0}function Q(ie){return(0,F.K)(H(ie))?ie.pop():void 0}function P(ie,N){return"number"==typeof H(ie)?ie.pop():N}},7453:(gt,Ce,m)=>{"use strict";m.d(Ce,{D:()=>Q});const{isArray:e}=Array,{getPrototypeOf:F,prototype:H,keys:R}=Object;function Q(ie){if(1===ie.length){const N=ie[0];if(e(N))return{args:N,keys:null};if(function P(ie){return ie&&"object"==typeof ie&&F(ie)===H}(N)){const V=R(N);return{args:V.map(X=>N[X]),keys:V}}}return{args:ie,keys:null}}},9039:(gt,Ce,m)=>{"use strict";function e(F,H){if(F){const R=F.indexOf(H);0<=R&&F.splice(R,1)}}m.d(Ce,{P:()=>e})},2306:(gt,Ce,m)=>{"use strict";function e(F){const R=F(Q=>{Error.call(Q),Q.stack=(new Error).stack});return R.prototype=Object.create(Error.prototype),R.prototype.constructor=R,R}m.d(Ce,{d:()=>e})},2714:(gt,Ce,m)=>{"use strict";function e(F,H){return F.reduce((R,Q,P)=>(R[Q]=H[P],R),{})}m.d(Ce,{n:()=>e})},1441:(gt,Ce,m)=>{"use strict";m.d(Ce,{O:()=>R,x:()=>H});var e=m(2653);let F=null;function H(Q){if(e.config.useDeprecatedSynchronousErrorHandling){const P=!F;if(P&&(F={errorThrown:!1,error:null}),Q(),P){const{errorThrown:ie,error:N}=F;if(F=null,ie)throw N}}else Q()}function R(Q){e.config.useDeprecatedSynchronousErrorHandling&&F&&(F.errorThrown=!0,F.error=Q)}},7103:(gt,Ce,m)=>{"use strict";function e(F,H,R,Q=0,P=!1){const ie=H.schedule(function(){R(),P?F.add(this.schedule(null,Q)):this.unsubscribe()},Q);if(F.add(ie),!P)return ie}m.d(Ce,{f:()=>e})},2737:(gt,Ce,m)=>{"use strict";function e(F){return F}m.d(Ce,{y:()=>e})},4266:(gt,Ce,m)=>{"use strict";m.d(Ce,{z:()=>e});const e=F=>F&&"number"==typeof F.length&&"function"!=typeof F},5726:(gt,Ce,m)=>{"use strict";m.d(Ce,{D:()=>F});var e=m(4674);function F(H){return Symbol.asyncIterator&&(0,e.m)(H?.[Symbol.asyncIterator])}},4674:(gt,Ce,m)=>{"use strict";function e(F){return"function"==typeof F}m.d(Ce,{m:()=>e})},8382:(gt,Ce,m)=>{"use strict";m.d(Ce,{c:()=>H});var e=m(4850),F=m(4674);function H(R){return(0,F.m)(R[e.L])}},3664:(gt,Ce,m)=>{"use strict";m.d(Ce,{T:()=>H});var e=m(4971),F=m(4674);function H(R){return(0,F.m)(R?.[e.h])}},2664:(gt,Ce,m)=>{"use strict";m.d(Ce,{b:()=>H});var e=m(5592),F=m(4674);function H(R){return!!R&&(R instanceof e.y||(0,F.m)(R.lift)&&(0,F.m)(R.subscribe))}},4026:(gt,Ce,m)=>{"use strict";m.d(Ce,{t:()=>F});var e=m(4674);function F(H){return(0,e.m)(H?.then)}},541:(gt,Ce,m)=>{"use strict";m.d(Ce,{L:()=>R,Q:()=>H});var e=m(7582),F=m(4674);function H(Q){return(0,e.FC)(this,arguments,function*(){const ie=Q.getReader();try{for(;;){const{value:N,done:V}=yield(0,e.qq)(ie.read());if(V)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(N)}}finally{ie.releaseLock()}})}function R(Q){return(0,F.m)(Q?.getReader)}},671:(gt,Ce,m)=>{"use strict";m.d(Ce,{K:()=>F});var e=m(4674);function F(H){return H&&(0,e.m)(H.schedule)}},9360:(gt,Ce,m)=>{"use strict";m.d(Ce,{A:()=>F,e:()=>H});var e=m(4674);function F(R){return(0,e.m)(R?.lift)}function H(R){return Q=>{if(F(Q))return Q.lift(function(P){try{return R(P,this)}catch(ie){this.error(ie)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(gt,Ce,m)=>{"use strict";m.d(Ce,{Z:()=>R});var e=m(7398);const{isArray:F}=Array;function R(Q){return(0,e.U)(P=>function H(Q,P){return F(P)?Q(...P):Q(P)}(Q,P))}},2420:(gt,Ce,m)=>{"use strict";function e(){}m.d(Ce,{Z:()=>e})},8407:(gt,Ce,m)=>{"use strict";m.d(Ce,{U:()=>H,z:()=>F});var e=m(2737);function F(...R){return H(R)}function H(R){return 0===R.length?e.y:1===R.length?R[0]:function(P){return R.reduce((ie,N)=>N(ie),P)}}},3894:(gt,Ce,m)=>{"use strict";m.d(Ce,{h:()=>H});var e=m(2653),F=m(7599);function H(R){F.z.setTimeout(()=>{const{onUnhandledError:Q}=e.config;if(!Q)throw R;Q(R)})}},9853:(gt,Ce,m)=>{"use strict";function e(F){return new TypeError(`You provided ${null!==F&&"object"==typeof F?"an invalid object":`'${F}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}m.d(Ce,{z:()=>e})},4004:(gt,Ce,m)=>{"use strict";m.d(Ce,{Z:()=>ne});const F={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let H;const R=new Uint8Array(16);function Q(){if(!H&&(H=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!H))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return H(R)}const P=[];for(let ve=0;ve<256;++ve)P.push((ve+256).toString(16).slice(1));const ne=function X(ve,re,q){if(F.randomUUID&&!re&&!ve)return F.randomUUID();const le=(ve=ve||{}).random||(ve.rng||Q)();if(le[6]=15&le[6]|64,le[8]=63&le[8]|128,re){q=q||0;for(let se=0;se<16;++se)re[q+se]=le[se];return re}return function ie(ve,re=0){return P[ve[re+0]]+P[ve[re+1]]+P[ve[re+2]]+P[ve[re+3]]+"-"+P[ve[re+4]]+P[ve[re+5]]+"-"+P[ve[re+6]]+P[ve[re+7]]+"-"+P[ve[re+8]]+P[ve[re+9]]+"-"+P[ve[re+10]]+P[ve[re+11]]+P[ve[re+12]]+P[ve[re+13]]+P[ve[re+14]]+P[ve[re+15]]}(le)}},9334:()=>{},6825:(gt,Ce,m)=>{"use strict";m.d(Ce,{SB:()=>N,X$:()=>H,ZE:()=>Fe,ZN:()=>De,eR:()=>X,jt:()=>R,k1:()=>Ve,l3:()=>F,mo:()=>e,oB:()=>ie,vP:()=>P});var e=function(He){return He[He.State=0]="State",He[He.Transition=1]="Transition",He[He.Sequence=2]="Sequence",He[He.Group=3]="Group",He[He.Animate=4]="Animate",He[He.Keyframes=5]="Keyframes",He[He.Style=6]="Style",He[He.Trigger=7]="Trigger",He[He.Reference=8]="Reference",He[He.AnimateChild=9]="AnimateChild",He[He.AnimateRef=10]="AnimateRef",He[He.Query=11]="Query",He[He.Stagger=12]="Stagger",He}(e||{});const F="*";function H(He,Ue){return{type:e.Trigger,name:He,definitions:Ue,options:{}}}function R(He,Ue=null){return{type:e.Animate,styles:Ue,timings:He}}function P(He,Ue=null){return{type:e.Sequence,steps:He,options:Ue}}function ie(He){return{type:e.Style,styles:He,offset:null}}function N(He,Ue,$e){return{type:e.State,name:He,styles:Ue,options:$e}}function X(He,Ue,$e=null){return{type:e.Transition,expr:He,animation:Ue,options:$e}}class De{constructor(Ue=0,$e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ue+$e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ue=>Ue()),this._onDoneFns=[])}onStart(Ue){this._originalOnStartFns.push(Ue),this._onStartFns.push(Ue)}onDone(Ue){this._originalOnDoneFns.push(Ue),this._onDoneFns.push(Ue)}onDestroy(Ue){this._onDestroyFns.push(Ue)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ue=>Ue()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ue=>Ue()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Ue){this._position=this.totalTime?Ue*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ue){const $e="start"==Ue?this._onStartFns:this._onDoneFns;$e.forEach(nt=>nt()),$e.length=0}}class Fe{constructor(Ue){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ue;let $e=0,nt=0,St=0;const be=this.players.length;0==be?queueMicrotask(()=>this._onFinish()):this.players.forEach(At=>{At.onDone(()=>{++$e==be&&this._onFinish()}),At.onDestroy(()=>{++nt==be&&this._onDestroy()}),At.onStart(()=>{++St==be&&this._onStart()})}),this.totalTime=this.players.reduce((At,dt)=>Math.max(At,dt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ue=>Ue()),this._onDoneFns=[])}init(){this.players.forEach(Ue=>Ue.init())}onStart(Ue){this._onStartFns.push(Ue)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ue=>Ue()),this._onStartFns=[])}onDone(Ue){this._onDoneFns.push(Ue)}onDestroy(Ue){this._onDestroyFns.push(Ue)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Ue=>Ue.play())}pause(){this.players.forEach(Ue=>Ue.pause())}restart(){this.players.forEach(Ue=>Ue.restart())}finish(){this._onFinish(),this.players.forEach(Ue=>Ue.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ue=>Ue.destroy()),this._onDestroyFns.forEach(Ue=>Ue()),this._onDestroyFns=[])}reset(){this.players.forEach(Ue=>Ue.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ue){const $e=Ue*this.totalTime;this.players.forEach(nt=>{const St=nt.totalTime?Math.min(1,$e/nt.totalTime):1;nt.setPosition(St)})}getPosition(){const Ue=this.players.reduce(($e,nt)=>null===$e||nt.totalTime>$e.totalTime?nt:$e,null);return null!=Ue?Ue.getPosition():0}beforeDestroy(){this.players.forEach(Ue=>{Ue.beforeDestroy&&Ue.beforeDestroy()})}triggerCallback(Ue){const $e="start"==Ue?this._onStartFns:this._onDoneFns;$e.forEach(nt=>nt()),$e.length=0}}const Ve="!"},6814:(gt,Ce,m)=>{"use strict";m.d(Ce,{Do:()=>se,ED:()=>xs,EM:()=>gs,HT:()=>R,JF:()=>Rs,K0:()=>P,Mn:()=>be,Mx:()=>Ae,NF:()=>$r,O5:()=>Ut,Ov:()=>ea,PC:()=>Yr,PM:()=>Ks,RF:()=>Sn,S$:()=>re,Sw:()=>pe,Tn:()=>Ve,UT:()=>At,V_:()=>N,Ye:()=>J,b0:()=>le,bD:()=>ji,ez:()=>nr,fb:()=>kt,mk:()=>mt,n9:()=>Dn,q:()=>H,sg:()=>Et,tM:()=>He,tP:()=>Or,uU:()=>_r,w_:()=>Q,x:()=>Fe});var e=m(9212);let F=null;function H(){return F}function R(w){F||(F=w)}class Q{}const P=new e.OlP("DocumentToken");let ie=(()=>{class w{historyGo(x){throw new Error("Not implemented")}static#e=this.\u0275fac=function(j){return new(j||w)};static#t=this.\u0275prov=e.Yz7({token:w,factory:()=>(0,e.f3M)(V),providedIn:"platform"})}return w})();const N=new e.OlP("Location Initialized");let V=(()=>{class w extends ie{constructor(){super(),this._doc=(0,e.f3M)(P),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return H().getBaseHref(this._doc)}onPopState(x){const j=H().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",x,!1),()=>j.removeEventListener("popstate",x)}onHashChange(x){const j=H().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",x,!1),()=>j.removeEventListener("hashchange",x)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(x){this._location.pathname=x}pushState(x,j,Me){this._history.pushState(x,j,Me)}replaceState(x,j,Me){this._history.replaceState(x,j,Me)}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}static#e=this.\u0275fac=function(j){return new(j||w)};static#t=this.\u0275prov=e.Yz7({token:w,factory:()=>new w,providedIn:"platform"})}return w})();function X(w,K){if(0==w.length)return K;if(0==K.length)return w;let x=0;return w.endsWith("/")&&x++,K.startsWith("/")&&x++,2==x?w+K.substring(1):1==x?w+K:w+"/"+K}function ne(w){const K=w.match(/#|\?|$/),x=K&&K.index||w.length;return w.slice(0,x-("/"===w[x-1]?1:0))+w.slice(x)}function ve(w){return w&&"?"!==w[0]?"?"+w:w}let re=(()=>{class w{historyGo(x){throw new Error("Not implemented")}static#e=this.\u0275fac=function(j){return new(j||w)};static#t=this.\u0275prov=e.Yz7({token:w,factory:()=>(0,e.f3M)(le),providedIn:"root"})}return w})();const q=new e.OlP("appBaseHref");let le=(()=>{class w extends re{constructor(x,j){super(),this._platformLocation=x,this._removeListenerFns=[],this._baseHref=j??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(P).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return X(this._baseHref,x)}path(x=!1){const j=this._platformLocation.pathname+ve(this._platformLocation.search),Me=this._platformLocation.hash;return Me&&x?`${j}${Me}`:j}pushState(x,j,Me,et){const _t=this.prepareExternalUrl(Me+ve(et));this._platformLocation.pushState(x,j,_t)}replaceState(x,j,Me,et){const _t=this.prepareExternalUrl(Me+ve(et));this._platformLocation.replaceState(x,j,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static#e=this.\u0275fac=function(j){return new(j||w)(e.LFG(ie),e.LFG(q,8))};static#t=this.\u0275prov=e.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),se=(()=>{class w extends re{constructor(x,j){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=j&&(this._baseHref=j)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){let j=this._platformLocation.hash;return null==j&&(j="#"),j.length>0?j.substring(1):j}prepareExternalUrl(x){const j=X(this._baseHref,x);return j.length>0?"#"+j:j}pushState(x,j,Me,et){let _t=this.prepareExternalUrl(Me+ve(et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.pushState(x,j,_t)}replaceState(x,j,Me,et){let _t=this.prepareExternalUrl(Me+ve(et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.replaceState(x,j,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static#e=this.\u0275fac=function(j){return new(j||w)(e.LFG(ie),e.LFG(q,8))};static#t=this.\u0275prov=e.Yz7({token:w,factory:w.\u0275fac})}return w})(),J=(()=>{class w{constructor(x){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=x;const j=this._locationStrategy.getBaseHref();this._basePath=function Pe(w){if(new RegExp("^(https?:)?//").test(w)){const[,x]=w.split(/\/\/[^\/]+/);return x}return w}(ne(Re(j))),this._locationStrategy.onPopState(Me=>{this._subject.emit({url:this.path(!0),pop:!0,state:Me.state,type:Me.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(x=!1){return this.normalize(this._locationStrategy.path(x))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(x,j=""){return this.path()==this.normalize(x+ve(j))}normalize(x){return w.stripTrailingSlash(function fe(w,K){if(!w||!K.startsWith(w))return K;const x=K.substring(w.length);return""===x||["/",";","?","#"].includes(x[0])?x:K}(this._basePath,Re(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._locationStrategy.prepareExternalUrl(x)}go(x,j="",Me=null){this._locationStrategy.pushState(Me,"",x,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+ve(j)),Me)}replaceState(x,j="",Me=null){this._locationStrategy.replaceState(Me,"",x,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+ve(j)),Me)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(x=0){this._locationStrategy.historyGo?.(x)}onUrlChange(x){return this._urlChangeListeners.push(x),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(j=>{this._notifyUrlChangeListeners(j.url,j.state)})),()=>{const j=this._urlChangeListeners.indexOf(x);this._urlChangeListeners.splice(j,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(x="",j){this._urlChangeListeners.forEach(Me=>Me(x,j))}subscribe(x,j,Me){return this._subject.subscribe({next:x,error:j,complete:Me})}static#e=this.normalizeQueryParams=ve;static#t=this.joinWithSlash=X;static#n=this.stripTrailingSlash=ne;static#i=this.\u0275fac=function(j){return new(j||w)(e.LFG(re))};static#r=this.\u0275prov=e.Yz7({token:w,factory:()=>function oe(){return new J((0,e.LFG)(re))}(),providedIn:"root"})}return w})();function Re(w){return w.replace(/\/index.html$/,"")}var Fe=function(w){return w[w.Format=0]="Format",w[w.Standalone=1]="Standalone",w}(Fe||{}),Ve=function(w){return w[w.Narrow=0]="Narrow",w[w.Abbreviated=1]="Abbreviated",w[w.Wide=2]="Wide",w[w.Short=3]="Short",w}(Ve||{}),He=function(w){return w[w.Short=0]="Short",w[w.Medium=1]="Medium",w[w.Long=2]="Long",w[w.Full=3]="Full",w}(He||{}),Ue=function(w){return w[w.Decimal=0]="Decimal",w[w.Group=1]="Group",w[w.List=2]="List",w[w.PercentSign=3]="PercentSign",w[w.PlusSign=4]="PlusSign",w[w.MinusSign=5]="MinusSign",w[w.Exponential=6]="Exponential",w[w.SuperscriptingExponent=7]="SuperscriptingExponent",w[w.PerMille=8]="PerMille",w[w.Infinity=9]="Infinity",w[w.NaN=10]="NaN",w[w.TimeSeparator=11]="TimeSeparator",w[w.CurrencyDecimal=12]="CurrencyDecimal",w[w.CurrencyGroup=13]="CurrencyGroup",w}(Ue||{});function be(w,K,x){const j=(0,e.cg1)(w),et=Ct([j[e.wAp.DaysFormat],j[e.wAp.DaysStandalone]],K);return Ct(et,x)}function At(w,K,x){const j=(0,e.cg1)(w),et=Ct([j[e.wAp.MonthsFormat],j[e.wAp.MonthsStandalone]],K);return Ct(et,x)}function kt(w){return(0,e.cg1)(w)[e.wAp.FirstDayOfWeek]}function Be(w,K){return Ct((0,e.cg1)(w)[e.wAp.DateFormat],K)}function pe(w,K){return Ct((0,e.cg1)(w)[e.wAp.TimeFormat],K)}function Se(w,K){return Ct((0,e.cg1)(w)[e.wAp.DateTimeFormat],K)}function Ee(w,K){const x=(0,e.cg1)(w),j=x[e.wAp.NumberSymbols][K];if(typeof j>"u"){if(K===Ue.CurrencyDecimal)return x[e.wAp.NumberSymbols][Ue.Decimal];if(K===Ue.CurrencyGroup)return x[e.wAp.NumberSymbols][Ue.Group]}return j}function ke(w){if(!w[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${w[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ct(w,K){for(let x=K;x>-1;x--)if(typeof w[x]<"u")return w[x];throw new Error("Locale data API: locale data undefined")}function st(w){const[K,x]=w.split(":");return{hours:+K,minutes:+x}}const bn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,rn={},qn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Wn=function(w){return w[w.Short=0]="Short",w[w.ShortGMT=1]="ShortGMT",w[w.Long=2]="Long",w[w.Extended=3]="Extended",w}(Wn||{}),tn=function(w){return w[w.FullYear=0]="FullYear",w[w.Month=1]="Month",w[w.Date=2]="Date",w[w.Hours=3]="Hours",w[w.Minutes=4]="Minutes",w[w.Seconds=5]="Seconds",w[w.FractionalSeconds=6]="FractionalSeconds",w[w.Day=7]="Day",w}(tn||{}),an=function(w){return w[w.DayPeriods=0]="DayPeriods",w[w.Days=1]="Days",w[w.Months=2]="Months",w[w.Eras=3]="Eras",w}(an||{});function zr(w,K,x,j){let Me=function U(w){if(D(w))return w;if("number"==typeof w&&!isNaN(w))return new Date(w);if("string"==typeof w){if(w=w.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(w)){const[Me,et=1,_t=1]=w.split("-").map(Nt=>+Nt);return Gt(Me,et-1,_t)}const x=parseFloat(w);if(!isNaN(w-x))return new Date(x);let j;if(j=w.match(bn))return function A(w){const K=new Date(0);let x=0,j=0;const Me=w[8]?K.setUTCFullYear:K.setFullYear,et=w[8]?K.setUTCHours:K.setHours;w[9]&&(x=Number(w[9]+w[10]),j=Number(w[9]+w[11])),Me.call(K,Number(w[1]),Number(w[2])-1,Number(w[3]));const _t=Number(w[4]||0)-x,Nt=Number(w[5]||0)-j,Rn=Number(w[6]||0),In=Math.floor(1e3*parseFloat("0."+(w[7]||0)));return et.call(K,_t,Nt,Rn,In),K}(j)}const K=new Date(w);if(!D(K))throw new Error(`Unable to convert "${w}" into a date`);return K}(w);K=oi(x,K)||K;let Nt,_t=[];for(;K;){if(Nt=qn.exec(K),!Nt){_t.push(K);break}{_t=_t.concat(Nt.slice(1));const Pn=_t.pop();if(!Pn)break;K=Pn}}let Rn=Me.getTimezoneOffset();j&&(Rn=sn(j,Rn),Me=function ft(w,K,x){const j=x?-1:1,Me=w.getTimezoneOffset();return function Vr(w,K){return(w=new Date(w.getTime())).setMinutes(w.getMinutes()+K),w}(w,j*(sn(K,Me)-Me))}(Me,j,!0));let In="";return _t.forEach(Pn=>{const fn=function Yt(w){if(Hi[w])return Hi[w];let K;switch(w){case"G":case"GG":case"GGG":K=xt(an.Eras,Ve.Abbreviated);break;case"GGGG":K=xt(an.Eras,Ve.Wide);break;case"GGGGG":K=xt(an.Eras,Ve.Narrow);break;case"y":K=En(tn.FullYear,1,0,!1,!0);break;case"yy":K=En(tn.FullYear,2,0,!0,!0);break;case"yyy":K=En(tn.FullYear,3,0,!1,!0);break;case"yyyy":K=En(tn.FullYear,4,0,!1,!0);break;case"Y":K=_i(1);break;case"YY":K=_i(2,!0);break;case"YYY":K=_i(3);break;case"YYYY":K=_i(4);break;case"M":case"L":K=En(tn.Month,1,1);break;case"MM":case"LL":K=En(tn.Month,2,1);break;case"MMM":K=xt(an.Months,Ve.Abbreviated);break;case"MMMM":K=xt(an.Months,Ve.Wide);break;case"MMMMM":K=xt(an.Months,Ve.Narrow);break;case"LLL":K=xt(an.Months,Ve.Abbreviated,Fe.Standalone);break;case"LLLL":K=xt(an.Months,Ve.Wide,Fe.Standalone);break;case"LLLLL":K=xt(an.Months,Ve.Narrow,Fe.Standalone);break;case"w":K=ni(1);break;case"ww":K=ni(2);break;case"W":K=ni(1,!0);break;case"d":K=En(tn.Date,1);break;case"dd":K=En(tn.Date,2);break;case"c":case"cc":K=En(tn.Day,1);break;case"ccc":K=xt(an.Days,Ve.Abbreviated,Fe.Standalone);break;case"cccc":K=xt(an.Days,Ve.Wide,Fe.Standalone);break;case"ccccc":K=xt(an.Days,Ve.Narrow,Fe.Standalone);break;case"cccccc":K=xt(an.Days,Ve.Short,Fe.Standalone);break;case"E":case"EE":case"EEE":K=xt(an.Days,Ve.Abbreviated);break;case"EEEE":K=xt(an.Days,Ve.Wide);break;case"EEEEE":K=xt(an.Days,Ve.Narrow);break;case"EEEEEE":K=xt(an.Days,Ve.Short);break;case"a":case"aa":case"aaa":K=xt(an.DayPeriods,Ve.Abbreviated);break;case"aaaa":K=xt(an.DayPeriods,Ve.Wide);break;case"aaaaa":K=xt(an.DayPeriods,Ve.Narrow);break;case"b":case"bb":case"bbb":K=xt(an.DayPeriods,Ve.Abbreviated,Fe.Standalone,!0);break;case"bbbb":K=xt(an.DayPeriods,Ve.Wide,Fe.Standalone,!0);break;case"bbbbb":K=xt(an.DayPeriods,Ve.Narrow,Fe.Standalone,!0);break;case"B":case"BB":case"BBB":K=xt(an.DayPeriods,Ve.Abbreviated,Fe.Format,!0);break;case"BBBB":K=xt(an.DayPeriods,Ve.Wide,Fe.Format,!0);break;case"BBBBB":K=xt(an.DayPeriods,Ve.Narrow,Fe.Format,!0);break;case"h":K=En(tn.Hours,1,-12);break;case"hh":K=En(tn.Hours,2,-12);break;case"H":K=En(tn.Hours,1);break;case"HH":K=En(tn.Hours,2);break;case"m":K=En(tn.Minutes,1);break;case"mm":K=En(tn.Minutes,2);break;case"s":K=En(tn.Seconds,1);break;case"ss":K=En(tn.Seconds,2);break;case"S":K=En(tn.FractionalSeconds,1);break;case"SS":K=En(tn.FractionalSeconds,2);break;case"SSS":K=En(tn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":K=Xn(Wn.Short);break;case"ZZZZZ":K=Xn(Wn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":K=Xn(Wn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":K=Xn(Wn.Long);break;default:return null}return Hi[w]=K,K}(Pn);In+=fn?fn(Me,x,Rn):"''"===Pn?"'":Pn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),In}function Gt(w,K,x){const j=new Date(0);return j.setFullYear(w,K,x),j.setHours(0,0,0),j}function oi(w,K){const x=function nt(w){return(0,e.cg1)(w)[e.wAp.LocaleId]}(w);if(rn[x]=rn[x]||{},rn[x][K])return rn[x][K];let j="";switch(K){case"shortDate":j=Be(w,He.Short);break;case"mediumDate":j=Be(w,He.Medium);break;case"longDate":j=Be(w,He.Long);break;case"fullDate":j=Be(w,He.Full);break;case"shortTime":j=pe(w,He.Short);break;case"mediumTime":j=pe(w,He.Medium);break;case"longTime":j=pe(w,He.Long);break;case"fullTime":j=pe(w,He.Full);break;case"short":const Me=oi(w,"shortTime"),et=oi(w,"shortDate");j=On(Se(w,He.Short),[Me,et]);break;case"medium":const _t=oi(w,"mediumTime"),Nt=oi(w,"mediumDate");j=On(Se(w,He.Medium),[_t,Nt]);break;case"long":const Rn=oi(w,"longTime"),In=oi(w,"longDate");j=On(Se(w,He.Long),[Rn,In]);break;case"full":const Pn=oi(w,"fullTime"),fn=oi(w,"fullDate");j=On(Se(w,He.Full),[Pn,fn])}return j&&(rn[x][K]=j),j}function On(w,K){return K&&(w=w.replace(/\{([^}]+)}/g,function(x,j){return null!=K&&j in K?K[j]:x})),w}function Yn(w,K,x="-",j,Me){let et="";(w<0||Me&&w<=0)&&(Me?w=1-w:(w=-w,et=x));let _t=String(w);for(;_t.length 0||Nt>-x)&&(Nt+=x),w===tn.Hours)0===Nt&&-12===x&&(Nt=12);else if(w===tn.FractionalSeconds)return function ar(w,K){return Yn(w,3).substring(0,K)}(Nt,K);const Rn=Ee(_t,Ue.MinusSign);return Yn(Nt,K,Rn,j,Me)}}function xt(w,K,x=Fe.Format,j=!1){return function(Me,et){return function Ii(w,K,x,j,Me,et){switch(x){case an.Months:return At(K,Me,j)[w.getMonth()];case an.Days:return be(K,Me,j)[w.getDay()];case an.DayPeriods:const _t=w.getHours(),Nt=w.getMinutes();if(et){const In=function Ke(w){const K=(0,e.cg1)(w);return ke(K),(K[e.wAp.ExtraData][2]||[]).map(j=>"string"==typeof j?st(j):[st(j[0]),st(j[1])])}(K),Pn=function it(w,K,x){const j=(0,e.cg1)(w);ke(j);const et=Ct([j[e.wAp.ExtraData][0],j[e.wAp.ExtraData][1]],K)||[];return Ct(et,x)||[]}(K,Me,j),fn=In.findIndex(Qn=>{if(Array.isArray(Qn)){const[Fn,bi]=Qn,vs=_t>=Fn.hours&&Nt>=Fn.minutes,ui=_t 0?Math.floor(Me/60):Math.ceil(Me/60);switch(w){case Wn.Short:return(Me>=0?"+":"")+Yn(_t,2,et)+Yn(Math.abs(Me%60),2,et);case Wn.ShortGMT:return"GMT"+(Me>=0?"+":"")+Yn(_t,1,et);case Wn.Long:return"GMT"+(Me>=0?"+":"")+Yn(_t,2,et)+":"+Yn(Math.abs(Me%60),2,et);case Wn.Extended:return 0===j?"Z":(Me>=0?"+":"")+Yn(_t,2,et)+":"+Yn(Math.abs(Me%60),2,et);default:throw new Error(`Unknown zone width "${w}"`)}}}const ai=0,Zn=4;function pi(w){return Gt(w.getFullYear(),w.getMonth(),w.getDate()+(Zn-w.getDay()))}function ni(w,K=!1){return function(x,j){let Me;if(K){const et=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,_t=x.getDate();Me=1+Math.floor((_t+et)/7)}else{const et=pi(x),_t=function hi(w){const K=Gt(w,ai,1).getDay();return Gt(w,0,1+(K<=Zn?Zn:Zn+7)-K)}(et.getFullYear()),Nt=et.getTime()-_t.getTime();Me=1+Math.round(Nt/6048e5)}return Yn(Me,w,Ee(j,Ue.MinusSign))}}function _i(w,K=!1){return function(x,j){return Yn(pi(x).getFullYear(),w,Ee(j,Ue.MinusSign),K)}}const Hi={};function sn(w,K){w=w.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+w)/6e4;return isNaN(x)?K:x}function D(w){return w instanceof Date&&!isNaN(w.valueOf())}function Ae(w,K){K=encodeURIComponent(K);for(const x of w.split(";")){const j=x.indexOf("="),[Me,et]=-1==j?[x,""]:[x.slice(0,j),x.slice(j+1)];if(Me.trim()===K)return decodeURIComponent(et)}return null}const xe=/\s+/,ot=[];let mt=(()=>{class w{constructor(x,j){this._ngEl=x,this._renderer=j,this.initialClasses=ot,this.stateMap=new Map}set klass(x){this.initialClasses=null!=x?x.trim().split(xe):ot}set ngClass(x){this.rawClass="string"==typeof x?x.trim().split(xe):x}ngDoCheck(){for(const j of this.initialClasses)this._updateState(j,!0);const x=this.rawClass;if(Array.isArray(x)||x instanceof Set)for(const j of x)this._updateState(j,!0);else if(null!=x)for(const j of Object.keys(x))this._updateState(j,!!x[j]);this._applyStateDiff()}_updateState(x,j){const Me=this.stateMap.get(x);void 0!==Me?(Me.enabled!==j&&(Me.changed=!0,Me.enabled=j),Me.touched=!0):this.stateMap.set(x,{enabled:j,changed:!0,touched:!0})}_applyStateDiff(){for(const x of this.stateMap){const j=x[0],Me=x[1];Me.changed?(this._toggleClass(j,Me.enabled),Me.changed=!1):Me.touched||(Me.enabled&&this._toggleClass(j,!1),this.stateMap.delete(j)),Me.touched=!1}}_toggleClass(x,j){(x=x.trim()).length>0&&x.split(xe).forEach(Me=>{j?this._renderer.addClass(this._ngEl.nativeElement,Me):this._renderer.removeClass(this._ngEl.nativeElement,Me)})}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngClass",""]],inputs:{klass:[e.lbL.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return w})();class nn{constructor(K,x,j,Me){this.$implicit=K,this.ngForOf=x,this.index=j,this.count=Me}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Et=(()=>{class w{set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}constructor(x,j,Me){this._viewContainer=x,this._template=j,this._differs=Me,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const j=this._viewContainer;x.forEachOperation((Me,et,_t)=>{if(null==Me.previousIndex)j.createEmbeddedView(this._template,new nn(Me.item,this._ngForOf,-1,-1),null===_t?void 0:_t);else if(null==_t)j.remove(null===et?void 0:et);else if(null!==et){const Nt=j.get(et);j.move(Nt,_t),hn(Nt,Me)}});for(let Me=0,et=j.length;Me {hn(j.get(Me.currentIndex),Me)})}static ngTemplateContextGuard(x,j){return!0}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return w})();function hn(w,K){w.context.$implicit=K.item}let Ut=(()=>{class w{constructor(x,j){this._viewContainer=x,this._context=new Mn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=j}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){vi("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){vi("ngIfElse",x),this._elseTemplateRef=x,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(x,j){return!0}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.s_b),e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return w})();class Mn{constructor(){this.$implicit=null,this.ngIf=null}}function vi(w,K){if(K&&!K.createEmbeddedView)throw new Error(`${w} must be a TemplateRef, but received '${(0,e.AaK)(K)}'.`)}class _n{constructor(K,x){this._viewContainerRef=K,this._templateRef=x,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(K){K&&!this._created?this.create():!K&&this._created&&this.destroy()}}let Sn=(()=>{class w{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(x){this._ngSwitch=x,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(x){this._defaultViews.push(x)}_matchCase(x){const j=x===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||j,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),j}_updateDefaultCases(x){if(this._defaultViews.length>0&&x!==this._defaultUsed){this._defaultUsed=x;for(const j of this._defaultViews)j.enforceState(x)}}static#e=this.\u0275fac=function(j){return new(j||w)};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return w})(),Dn=(()=>{class w{constructor(x,j,Me){this.ngSwitch=Me,Me._addCase(),this._view=new _n(x,j)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Sn,9))};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return w})(),xs=(()=>{class w{constructor(x,j,Me){Me._addDefault(new _n(x,j))}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Sn,9))};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return w})(),Yr=(()=>{class w{constructor(x,j,Me){this._ngEl=x,this._differs=j,this._renderer=Me,this._ngStyle=null,this._differ=null}set ngStyle(x){this._ngStyle=x,!this._differ&&x&&(this._differ=this._differs.find(x).create())}ngDoCheck(){if(this._differ){const x=this._differ.diff(this._ngStyle);x&&this._applyChanges(x)}}_setStyle(x,j){const[Me,et]=x.split("."),_t=-1===Me.indexOf("-")?void 0:e.JOm.DashCase;null!=j?this._renderer.setStyle(this._ngEl.nativeElement,Me,et?`${j}${et}`:j,_t):this._renderer.removeStyle(this._ngEl.nativeElement,Me,_t)}_applyChanges(x){x.forEachRemovedItem(j=>this._setStyle(j.key,null)),x.forEachAddedItem(j=>this._setStyle(j.key,j.currentValue)),x.forEachChangedItem(j=>this._setStyle(j.key,j.currentValue))}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return w})(),Or=(()=>{class w{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(x){if(this._shouldRecreateView(x)){const j=this._viewContainerRef;if(this._viewRef&&j.remove(j.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Me=this._createContextForwardProxy();this._viewRef=j.createEmbeddedView(this.ngTemplateOutlet,Me,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(x){return!!x.ngTemplateOutlet||!!x.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(x,j,Me)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,j,Me),get:(x,j,Me)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,j,Me)}})}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:w,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]})}return w})();function Ri(w,K){return new e.vHH(2100,!1)}class xa{createSubscription(K,x){return(0,e.rg0)(()=>K.subscribe({next:x,error:j=>{throw j}}))}dispose(K){(0,e.rg0)(()=>K.unsubscribe())}}class ho{createSubscription(K,x){return K.then(x,j=>{throw j})}dispose(K){}}const Oo=new ho,Xo=new xa;let ea=(()=>{class w{constructor(x){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=x}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(x){return this._obj?x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue:(x&&this._subscribe(x),this._latestValue)}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,j=>this._updateLatestValue(x,j))}_selectStrategy(x){if((0,e.QGY)(x))return Oo;if((0,e.F4k)(x))return Xo;throw Ri()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,j){x===this._obj&&(this._latestValue=j,this._ref.markForCheck())}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.sBO,16))};static#t=this.\u0275pipe=e.Yjl({name:"async",type:w,pure:!1,standalone:!0})}return w})();const tr=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),mr=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");let _r=(()=>{class w{constructor(x,j,Me){this.locale=x,this.defaultTimezone=j,this.defaultOptions=Me}transform(x,j,Me,et){if(null==x||""===x||x!=x)return null;try{return zr(x,j??this.defaultOptions?.dateFormat??"mediumDate",et||this.locale,Me??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(_t){throw Ri()}}static#e=this.\u0275fac=function(j){return new(j||w)(e.Y36(e.soG,16),e.Y36(tr,24),e.Y36(mr,24))};static#t=this.\u0275pipe=e.Yjl({name:"date",type:w,pure:!0,standalone:!0})}return w})(),nr=(()=>{class w{static#e=this.\u0275fac=function(j){return new(j||w)};static#t=this.\u0275mod=e.oAB({type:w});static#n=this.\u0275inj=e.cJS({})}return w})();const ji="browser",yn="server";function $r(w){return w===ji}function Ks(w){return w===yn}let gs=(()=>{class w{static#e=this.\u0275prov=(0,e.Yz7)({token:w,providedIn:"root",factory:()=>$r((0,e.f3M)(e.Lbi))?new fo((0,e.f3M)(P),window):new jr})}return w})();class fo{constructor(K,x){this.document=K,this.window=x,this.offset=()=>[0,0]}setOffset(K){this.offset=Array.isArray(K)?()=>K:K}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(K){this.window.scrollTo(K[0],K[1])}scrollToAnchor(K){const x=function go(w,K){const x=w.getElementById(K)||w.getElementsByName(K)[0];if(x)return x;if("function"==typeof w.createTreeWalker&&w.body&&"function"==typeof w.body.attachShadow){const j=w.createTreeWalker(w.body,NodeFilter.SHOW_ELEMENT);let Me=j.currentNode;for(;Me;){const et=Me.shadowRoot;if(et){const _t=et.getElementById(K)||et.querySelector(`[name="${K}"]`);if(_t)return _t}Me=j.nextNode()}}return null}(this.document,K);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(K){this.window.history.scrollRestoration=K}scrollToElement(K){const x=K.getBoundingClientRect(),j=x.left+this.window.pageXOffset,Me=x.top+this.window.pageYOffset,et=this.offset();this.window.scrollTo(j-et[0],Me-et[1])}}class jr{setOffset(K){}getScrollPosition(){return[0,0]}scrollToPosition(K){}scrollToAnchor(K){}setHistoryScrollRestoration(K){}}class Rs{}},9862:(gt,Ce,m)=>{"use strict";m.d(Ce,{MP:()=>A,Ni:()=>D,TP:()=>it,UA:()=>kt,eN:()=>pe,h_:()=>Vr}),m(5861);var F=m(9212),H=m(2096),R=m(5592),Q=m(9666),P=m(6328),ie=m(2181),N=m(7398),V=m(4716),X=m(4664),ne=m(6814);class ve{}class re{}class q{constructor(Ae){this.normalizedNames=new Map,this.lazyUpdate=null,Ae?"string"==typeof Ae?this.lazyInit=()=>{this.headers=new Map,Ae.split("\n").forEach(xe=>{const ot=xe.indexOf(":");if(ot>0){const mt=xe.slice(0,ot),Ot=mt.toLowerCase(),Pt=xe.slice(ot+1).trim();this.maybeSetNormalizedName(mt,Ot),this.headers.has(Ot)?this.headers.get(Ot).push(Pt):this.headers.set(Ot,[Pt])}})}:typeof Headers<"u"&&Ae instanceof Headers?(this.headers=new Map,Ae.forEach((xe,ot)=>{this.setHeaderEntries(ot,xe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ae).forEach(([xe,ot])=>{this.setHeaderEntries(xe,ot)})}:this.headers=new Map}has(Ae){return this.init(),this.headers.has(Ae.toLowerCase())}get(Ae){this.init();const xe=this.headers.get(Ae.toLowerCase());return xe&&xe.length>0?xe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ae){return this.init(),this.headers.get(Ae.toLowerCase())||null}append(Ae,xe){return this.clone({name:Ae,value:xe,op:"a"})}set(Ae,xe){return this.clone({name:Ae,value:xe,op:"s"})}delete(Ae,xe){return this.clone({name:Ae,value:xe,op:"d"})}maybeSetNormalizedName(Ae,xe){this.normalizedNames.has(xe)||this.normalizedNames.set(xe,Ae)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ae=>this.applyUpdate(Ae)),this.lazyUpdate=null))}copyFrom(Ae){Ae.init(),Array.from(Ae.headers.keys()).forEach(xe=>{this.headers.set(xe,Ae.headers.get(xe)),this.normalizedNames.set(xe,Ae.normalizedNames.get(xe))})}clone(Ae){const xe=new q;return xe.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,xe.lazyUpdate=(this.lazyUpdate||[]).concat([Ae]),xe}applyUpdate(Ae){const xe=Ae.name.toLowerCase();switch(Ae.op){case"a":case"s":let ot=Ae.value;if("string"==typeof ot&&(ot=[ot]),0===ot.length)return;this.maybeSetNormalizedName(Ae.name,xe);const mt=("a"===Ae.op?this.headers.get(xe):void 0)||[];mt.push(...ot),this.headers.set(xe,mt);break;case"d":const Ot=Ae.value;if(Ot){let Pt=this.headers.get(xe);if(!Pt)return;Pt=Pt.filter(nn=>-1===Ot.indexOf(nn)),0===Pt.length?(this.headers.delete(xe),this.normalizedNames.delete(xe)):this.headers.set(xe,Pt)}else this.headers.delete(xe),this.normalizedNames.delete(xe)}}setHeaderEntries(Ae,xe){const ot=(Array.isArray(xe)?xe:[xe]).map(Ot=>Ot.toString()),mt=Ae.toLowerCase();this.headers.set(mt,ot),this.maybeSetNormalizedName(Ae,mt)}forEach(Ae){this.init(),Array.from(this.normalizedNames.keys()).forEach(xe=>Ae(this.normalizedNames.get(xe),this.headers.get(xe)))}}class se{encodeKey(Ae){return Re(Ae)}encodeValue(Ae){return Re(Ae)}decodeKey(Ae){return decodeURIComponent(Ae)}decodeValue(Ae){return decodeURIComponent(Ae)}}const oe=/%(\d[a-f0-9])/gi,fe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Re(he){return encodeURIComponent(he).replace(oe,(Ae,xe)=>fe[xe]??Ae)}function Pe(he){return`${he}`}class Te{constructor(Ae={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ae.encoder||new se,Ae.fromString){if(Ae.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function J(he,Ae){const xe=new Map;return he.length>0&&he.replace(/^\?/,"").split("&").forEach(mt=>{const Ot=mt.indexOf("="),[Pt,nn]=-1==Ot?[Ae.decodeKey(mt),""]:[Ae.decodeKey(mt.slice(0,Ot)),Ae.decodeValue(mt.slice(Ot+1))],Et=xe.get(Pt)||[];Et.push(nn),xe.set(Pt,Et)}),xe}(Ae.fromString,this.encoder)}else Ae.fromObject?(this.map=new Map,Object.keys(Ae.fromObject).forEach(xe=>{const ot=Ae.fromObject[xe],mt=Array.isArray(ot)?ot.map(Pe):[Pe(ot)];this.map.set(xe,mt)})):this.map=null}has(Ae){return this.init(),this.map.has(Ae)}get(Ae){this.init();const xe=this.map.get(Ae);return xe?xe[0]:null}getAll(Ae){return this.init(),this.map.get(Ae)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ae,xe){return this.clone({param:Ae,value:xe,op:"a"})}appendAll(Ae){const xe=[];return Object.keys(Ae).forEach(ot=>{const mt=Ae[ot];Array.isArray(mt)?mt.forEach(Ot=>{xe.push({param:ot,value:Ot,op:"a"})}):xe.push({param:ot,value:mt,op:"a"})}),this.clone(xe)}set(Ae,xe){return this.clone({param:Ae,value:xe,op:"s"})}delete(Ae,xe){return this.clone({param:Ae,value:xe,op:"d"})}toString(){return this.init(),this.keys().map(Ae=>{const xe=this.encoder.encodeKey(Ae);return this.map.get(Ae).map(ot=>xe+"="+this.encoder.encodeValue(ot)).join("&")}).filter(Ae=>""!==Ae).join("&")}clone(Ae){const xe=new Te({encoder:this.encoder});return xe.cloneFrom=this.cloneFrom||this,xe.updates=(this.updates||[]).concat(Ae),xe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ae=>this.map.set(Ae,this.cloneFrom.map.get(Ae))),this.updates.forEach(Ae=>{switch(Ae.op){case"a":case"s":const xe=("a"===Ae.op?this.map.get(Ae.param):void 0)||[];xe.push(Pe(Ae.value)),this.map.set(Ae.param,xe);break;case"d":if(void 0===Ae.value){this.map.delete(Ae.param);break}{let ot=this.map.get(Ae.param)||[];const mt=ot.indexOf(Pe(Ae.value));-1!==mt&&ot.splice(mt,1),ot.length>0?this.map.set(Ae.param,ot):this.map.delete(Ae.param)}}}),this.cloneFrom=this.updates=null)}}class De{constructor(){this.map=new Map}set(Ae,xe){return this.map.set(Ae,xe),this}get(Ae){return this.map.has(Ae)||this.map.set(Ae,Ae.defaultValue()),this.map.get(Ae)}delete(Ae){return this.map.delete(Ae),this}has(Ae){return this.map.has(Ae)}keys(){return this.map.keys()}}function Ve(he){return typeof ArrayBuffer<"u"&&he instanceof ArrayBuffer}function He(he){return typeof Blob<"u"&&he instanceof Blob}function Ue(he){return typeof FormData<"u"&&he instanceof FormData}class nt{constructor(Ae,xe,ot,mt){let Ot;if(this.url=xe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ae.toUpperCase(),function Fe(he){switch(he){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||mt?(this.body=void 0!==ot?ot:null,Ot=mt):Ot=ot,Ot&&(this.reportProgress=!!Ot.reportProgress,this.withCredentials=!!Ot.withCredentials,Ot.responseType&&(this.responseType=Ot.responseType),Ot.headers&&(this.headers=Ot.headers),Ot.context&&(this.context=Ot.context),Ot.params&&(this.params=Ot.params),this.transferCache=Ot.transferCache),this.headers||(this.headers=new q),this.context||(this.context=new De),this.params){const Pt=this.params.toString();if(0===Pt.length)this.urlWithParams=xe;else{const nn=xe.indexOf("?");this.urlWithParams=xe+(-1===nn?"?":nn Ut.set(Mn,Ae.setHeaders[Mn]),Et)),Ae.setParams&&(hn=Object.keys(Ae.setParams).reduce((Ut,Mn)=>Ut.set(Mn,Ae.setParams[Mn]),hn)),new nt(xe,ot,Ot,{params:hn,headers:Et,context:Bn,reportProgress:nn,responseType:mt,withCredentials:Pt})}}var St=function(he){return he[he.Sent=0]="Sent",he[he.UploadProgress=1]="UploadProgress",he[he.ResponseHeader=2]="ResponseHeader",he[he.DownloadProgress=3]="DownloadProgress",he[he.Response=4]="Response",he[he.User=5]="User",he}(St||{});class be{constructor(Ae,xe=me.Ok,ot="OK"){this.headers=Ae.headers||new q,this.status=void 0!==Ae.status?Ae.status:xe,this.statusText=Ae.statusText||ot,this.url=Ae.url||null,this.ok=this.status>=200&&this.status<300}}class At extends be{constructor(Ae={}){super(Ae),this.type=St.ResponseHeader}clone(Ae={}){return new At({headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class dt extends be{constructor(Ae={}){super(Ae),this.type=St.Response,this.body=void 0!==Ae.body?Ae.body:null}clone(Ae={}){return new dt({body:void 0!==Ae.body?Ae.body:this.body,headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class kt extends be{constructor(Ae){super(Ae,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ae.url||"(unknown url)"}`:`Http failure response for ${Ae.url||"(unknown url)"}: ${Ae.status} ${Ae.statusText}`,this.error=Ae.error||null}}var me=function(he){return he[he.Continue=100]="Continue",he[he.SwitchingProtocols=101]="SwitchingProtocols",he[he.Processing=102]="Processing",he[he.EarlyHints=103]="EarlyHints",he[he.Ok=200]="Ok",he[he.Created=201]="Created",he[he.Accepted=202]="Accepted",he[he.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",he[he.NoContent=204]="NoContent",he[he.ResetContent=205]="ResetContent",he[he.PartialContent=206]="PartialContent",he[he.MultiStatus=207]="MultiStatus",he[he.AlreadyReported=208]="AlreadyReported",he[he.ImUsed=226]="ImUsed",he[he.MultipleChoices=300]="MultipleChoices",he[he.MovedPermanently=301]="MovedPermanently",he[he.Found=302]="Found",he[he.SeeOther=303]="SeeOther",he[he.NotModified=304]="NotModified",he[he.UseProxy=305]="UseProxy",he[he.Unused=306]="Unused",he[he.TemporaryRedirect=307]="TemporaryRedirect",he[he.PermanentRedirect=308]="PermanentRedirect",he[he.BadRequest=400]="BadRequest",he[he.Unauthorized=401]="Unauthorized",he[he.PaymentRequired=402]="PaymentRequired",he[he.Forbidden=403]="Forbidden",he[he.NotFound=404]="NotFound",he[he.MethodNotAllowed=405]="MethodNotAllowed",he[he.NotAcceptable=406]="NotAcceptable",he[he.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",he[he.RequestTimeout=408]="RequestTimeout",he[he.Conflict=409]="Conflict",he[he.Gone=410]="Gone",he[he.LengthRequired=411]="LengthRequired",he[he.PreconditionFailed=412]="PreconditionFailed",he[he.PayloadTooLarge=413]="PayloadTooLarge",he[he.UriTooLong=414]="UriTooLong",he[he.UnsupportedMediaType=415]="UnsupportedMediaType",he[he.RangeNotSatisfiable=416]="RangeNotSatisfiable",he[he.ExpectationFailed=417]="ExpectationFailed",he[he.ImATeapot=418]="ImATeapot",he[he.MisdirectedRequest=421]="MisdirectedRequest",he[he.UnprocessableEntity=422]="UnprocessableEntity",he[he.Locked=423]="Locked",he[he.FailedDependency=424]="FailedDependency",he[he.TooEarly=425]="TooEarly",he[he.UpgradeRequired=426]="UpgradeRequired",he[he.PreconditionRequired=428]="PreconditionRequired",he[he.TooManyRequests=429]="TooManyRequests",he[he.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",he[he.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",he[he.InternalServerError=500]="InternalServerError",he[he.NotImplemented=501]="NotImplemented",he[he.BadGateway=502]="BadGateway",he[he.ServiceUnavailable=503]="ServiceUnavailable",he[he.GatewayTimeout=504]="GatewayTimeout",he[he.HttpVersionNotSupported=505]="HttpVersionNotSupported",he[he.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",he[he.InsufficientStorage=507]="InsufficientStorage",he[he.LoopDetected=508]="LoopDetected",he[he.NotExtended=510]="NotExtended",he[he.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",he}(me||{});function Be(he,Ae){return{body:Ae,headers:he.headers,context:he.context,observe:he.observe,params:he.params,reportProgress:he.reportProgress,responseType:he.responseType,withCredentials:he.withCredentials,transferCache:he.transferCache}}let pe=(()=>{class he{constructor(xe){this.handler=xe}request(xe,ot,mt={}){let Ot;if(xe instanceof nt)Ot=xe;else{let Et,hn;Et=mt.headers instanceof q?mt.headers:new q(mt.headers),mt.params&&(hn=mt.params instanceof Te?mt.params:new Te({fromObject:mt.params})),Ot=new nt(xe,ot,void 0!==mt.body?mt.body:null,{headers:Et,context:mt.context,params:hn,reportProgress:mt.reportProgress,responseType:mt.responseType||"json",withCredentials:mt.withCredentials,transferCache:mt.transferCache})}const Pt=(0,H.of)(Ot).pipe((0,P.b)(Et=>this.handler.handle(Et)));if(xe instanceof nt||"events"===mt.observe)return Pt;const nn=Pt.pipe((0,ie.h)(Et=>Et instanceof dt));switch(mt.observe||"body"){case"body":switch(Ot.responseType){case"arraybuffer":return nn.pipe((0,N.U)(Et=>{if(null!==Et.body&&!(Et.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Et.body}));case"blob":return nn.pipe((0,N.U)(Et=>{if(null!==Et.body&&!(Et.body instanceof Blob))throw new Error("Response is not a Blob.");return Et.body}));case"text":return nn.pipe((0,N.U)(Et=>{if(null!==Et.body&&"string"!=typeof Et.body)throw new Error("Response is not a string.");return Et.body}));default:return nn.pipe((0,N.U)(Et=>Et.body))}case"response":return nn;default:throw new Error(`Unreachable: unhandled observe type ${mt.observe}}`)}}delete(xe,ot={}){return this.request("DELETE",xe,ot)}get(xe,ot={}){return this.request("GET",xe,ot)}head(xe,ot={}){return this.request("HEAD",xe,ot)}jsonp(xe,ot){return this.request("JSONP",xe,{params:(new Te).append(ot,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(xe,ot={}){return this.request("OPTIONS",xe,ot)}patch(xe,ot,mt={}){return this.request("PATCH",xe,Be(mt,ot))}post(xe,ot,mt={}){return this.request("POST",xe,Be(mt,ot))}put(xe,ot,mt={}){return this.request("PUT",xe,Be(mt,ot))}static#e=this.\u0275fac=function(ot){return new(ot||he)(F.LFG(ve))};static#t=this.\u0275prov=F.Yz7({token:he,factory:he.\u0275fac})}return he})();function de(he,Ae){return Ae(he)}function ke(he,Ae){return(xe,ot)=>Ae.intercept(xe,{handle:mt=>he(mt,ot)})}const it=new F.OlP(""),rt=new F.OlP(""),Ct=new F.OlP(""),st=new F.OlP("");function Ye(){let he=null;return(Ae,xe)=>{null===he&&(he=((0,F.f3M)(it,{optional:!0})??[]).reduceRight(ke,de));const ot=(0,F.f3M)(F.I6F),mt=ot.add();return he(Ae,xe).pipe((0,V.x)(()=>ot.remove(mt)))}}let bn=(()=>{class he extends ve{constructor(xe,ot){super(),this.backend=xe,this.injector=ot,this.chain=null,this.pendingTasks=(0,F.f3M)(F.I6F);const mt=(0,F.f3M)(st,{optional:!0});this.backend=mt??xe}handle(xe){if(null===this.chain){const mt=Array.from(new Set([...this.injector.get(rt),...this.injector.get(Ct,[])]));this.chain=mt.reduceRight((Ot,Pt)=>function Ke(he,Ae,xe){return(ot,mt)=>(0,F.r_H)(xe,()=>Ae(ot,Ot=>he(Ot,mt)))}(Ot,Pt,this.injector),de)}const ot=this.pendingTasks.add();return this.chain(xe,mt=>this.backend.handle(mt)).pipe((0,V.x)(()=>this.pendingTasks.remove(ot)))}static#e=this.\u0275fac=function(ot){return new(ot||he)(F.LFG(re),F.LFG(F.lqb))};static#t=this.\u0275prov=F.Yz7({token:he,factory:he.\u0275fac})}return he})();const En=/^\)\]\}',?\n/;let xt=(()=>{class he{constructor(xe){this.xhrFactory=xe}handle(xe){if("JSONP"===xe.method)throw new F.vHH(-2800,!1);const ot=this.xhrFactory;return(ot.\u0275loadImpl?(0,Q.D)(ot.\u0275loadImpl()):(0,H.of)(null)).pipe((0,X.w)(()=>new R.y(Ot=>{const Pt=ot.build();if(Pt.open(xe.method,xe.urlWithParams),xe.withCredentials&&(Pt.withCredentials=!0),xe.headers.forEach((_n,Sn)=>Pt.setRequestHeader(_n,Sn.join(","))),xe.headers.has("Accept")||Pt.setRequestHeader("Accept","application/json, text/plain, */*"),!xe.headers.has("Content-Type")){const _n=xe.detectContentTypeHeader();null!==_n&&Pt.setRequestHeader("Content-Type",_n)}if(xe.responseType){const _n=xe.responseType.toLowerCase();Pt.responseType="json"!==_n?_n:"text"}const nn=xe.serializeBody();let Et=null;const hn=()=>{if(null!==Et)return Et;const _n=Pt.statusText||"OK",Sn=new q(Pt.getAllResponseHeaders()),Dn=function gr(he){return"responseURL"in he&&he.responseURL?he.responseURL:/^X-Request-URL:/m.test(he.getAllResponseHeaders())?he.getResponseHeader("X-Request-URL"):null}(Pt)||xe.url;return Et=new At({headers:Sn,status:Pt.status,statusText:_n,url:Dn}),Et},Bn=()=>{let{headers:_n,status:Sn,statusText:Dn,url:xs}=hn(),yi=null;Sn!==me.NoContent&&(yi=typeof Pt.response>"u"?Pt.responseText:Pt.response),0===Sn&&(Sn=yi?me.Ok:0);let dn=Sn>=200&&Sn<300;if("json"===xe.responseType&&"string"==typeof yi){const Hr=yi;yi=yi.replace(En,"");try{yi=""!==yi?JSON.parse(yi):null}catch(Xi){yi=Hr,dn&&(dn=!1,yi={error:Xi,text:yi})}}dn?(Ot.next(new dt({body:yi,headers:_n,status:Sn,statusText:Dn,url:xs||void 0})),Ot.complete()):Ot.error(new kt({error:yi,headers:_n,status:Sn,statusText:Dn,url:xs||void 0}))},Ut=_n=>{const{url:Sn}=hn(),Dn=new kt({error:_n,status:Pt.status||0,statusText:Pt.statusText||"Unknown Error",url:Sn||void 0});Ot.error(Dn)};let Mn=!1;const vi=_n=>{Mn||(Ot.next(hn()),Mn=!0);let Sn={type:St.DownloadProgress,loaded:_n.loaded};_n.lengthComputable&&(Sn.total=_n.total),"text"===xe.responseType&&Pt.responseText&&(Sn.partialText=Pt.responseText),Ot.next(Sn)},wn=_n=>{let Sn={type:St.UploadProgress,loaded:_n.loaded};_n.lengthComputable&&(Sn.total=_n.total),Ot.next(Sn)};return Pt.addEventListener("load",Bn),Pt.addEventListener("error",Ut),Pt.addEventListener("timeout",Ut),Pt.addEventListener("abort",Ut),xe.reportProgress&&(Pt.addEventListener("progress",vi),null!==nn&&Pt.upload&&Pt.upload.addEventListener("progress",wn)),Pt.send(nn),Ot.next({type:St.Sent}),()=>{Pt.removeEventListener("error",Ut),Pt.removeEventListener("abort",Ut),Pt.removeEventListener("load",Bn),Pt.removeEventListener("timeout",Ut),xe.reportProgress&&(Pt.removeEventListener("progress",vi),null!==nn&&Pt.upload&&Pt.upload.removeEventListener("progress",wn)),Pt.readyState!==Pt.DONE&&Pt.abort()}})))}static#e=this.\u0275fac=function(ot){return new(ot||he)(F.LFG(ne.JF))};static#t=this.\u0275prov=F.Yz7({token:he,factory:he.\u0275fac})}return he})();const Ii=new F.OlP("XSRF_ENABLED"),ai=new F.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),hi=new F.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class pi{}let ni=(()=>{class he{constructor(xe,ot,mt){this.doc=xe,this.platform=ot,this.cookieName=mt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const xe=this.doc.cookie||"";return xe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ne.Mx)(xe,this.cookieName),this.lastCookieString=xe),this.lastToken}static#e=this.\u0275fac=function(ot){return new(ot||he)(F.LFG(ne.K0),F.LFG(F.Lbi),F.LFG(ai))};static#t=this.\u0275prov=F.Yz7({token:he,factory:he.\u0275fac})}return he})();function _i(he,Ae){const xe=he.url.toLowerCase();if(!(0,F.f3M)(Ii)||"GET"===he.method||"HEAD"===he.method||xe.startsWith("http://")||xe.startsWith("https://"))return Ae(he);const ot=(0,F.f3M)(pi).getToken(),mt=(0,F.f3M)(hi);return null!=ot&&!he.headers.has(mt)&&(he=he.clone({headers:he.headers.set(mt,ot)})),Ae(he)}var Yt=function(he){return he[he.Interceptors=0]="Interceptors",he[he.LegacyInterceptors=1]="LegacyInterceptors",he[he.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",he[he.NoXsrfProtection=3]="NoXsrfProtection",he[he.JsonpSupport=4]="JsonpSupport",he[he.RequestsMadeViaParent=5]="RequestsMadeViaParent",he[he.Fetch=6]="Fetch",he}(Yt||{});function sn(he,Ae){return{\u0275kind:he,\u0275providers:Ae}}function Vr(...he){const Ae=[pe,xt,bn,{provide:ve,useExisting:bn},{provide:re,useExisting:xt},{provide:rt,useValue:_i,multi:!0},{provide:Ii,useValue:!0},{provide:pi,useClass:ni}];for(const xe of he)Ae.push(...xe.\u0275providers);return(0,F.MR2)(Ae)}const U=new F.OlP("LEGACY_INTERCEPTOR_FN");function A(){return sn(Yt.LegacyInterceptors,[{provide:U,useFactory:Ye},{provide:rt,useExisting:U,multi:!0}])}function D({cookieName:he,headerName:Ae}){const xe=[];return void 0!==he&&xe.push({provide:ai,useValue:he}),void 0!==Ae&&xe.push({provide:hi,useValue:Ae}),sn(Yt.CustomXsrfConfiguration,xe)}},9212:(gt,Ce,m)=>{"use strict";m.d(Ce,{QbO:()=>Lv,tb:()=>lv,AFp:()=>nm,ip1:()=>W3,hGG:()=>ZS,z2F:()=>eu,Ojb:()=>im,sBO:()=>p0,Sil:()=>tS,_Vd:()=>Fc,EJc:()=>BS,Xts:()=>ja,SBq:()=>Rl,lqb:()=>Eo,qLn:()=>Sa,vpe:()=>To,XFs:()=>Ut,OlP:()=>dn,zs3:()=>$s,ZZ4:()=>Tf,aQg:()=>Of,soG:()=>ag,YKP:()=>qb,h0i:()=>Xc,R0b:()=>zi,FiY:()=>pu,Lbi:()=>ch,g9A:()=>Ep,n_E:()=>J1,Qsj:()=>wf,FYo:()=>Mf,JOm:()=>gh,q3G:()=>Es,WD2:()=>Us,tp0:()=>fu,Rgc:()=>G0,dDg:()=>OS,eoX:()=>G3,DyG:()=>cp,GfV:()=>L3,s_b:()=>Yl,ifc:()=>nr,T8G:()=>ed,VuI:()=>MD,MMx:()=>e3,Lck:()=>cw,G48:()=>$S,Gpc:()=>gr,RIp:()=>fp,f3M:()=>vn,$WT:()=>br,MR2:()=>_u,qFp:()=>SD,r_H:()=>Yg,rg0:()=>qm,Q0Y:()=>Uh,c2e:()=>B3,zSh:()=>nh,wAp:()=>Od,I6F:()=>ig,vHH:()=>Ye,lri:()=>$3,rWj:()=>j3,JZr:()=>st,EiD:()=>df,mCW:()=>Nl,qzn:()=>va,JVY:()=>Fu,pB0:()=>xl,eBb:()=>Pl,L6k:()=>Ih,LAX:()=>Vm,cg1:()=>x2,kuF:()=>Rt,kL8:()=>IC,dqk:()=>Dn,iPO:()=>cD,Z0I:()=>ot,eJc:()=>ga,QGY:()=>L2,F4k:()=>ob,RDi:()=>tm,AaK:()=>On,z3N:()=>Go,qOj:()=>w0,lbL:()=>yr,Xq5:()=>rd,TTD:()=>dr,_Bn:()=>Jb,jDz:()=>t3,xp6:()=>Xh,uIk:()=>f2,Tol:()=>fC,Gre:()=>bC,ekj:()=>b2,QCX:()=>MC,um2:()=>EC,Suo:()=>Tb,Xpm:()=>na,lG2:()=>pn,Yz7:()=>xn,cJS:()=>Ae,oAB:()=>_o,Yjl:()=>cr,Y36:()=>tl,_UZ:()=>T2,GkF:()=>O2,BQk:()=>W1,ynx:()=>G1,qZA:()=>j1,TgZ:()=>$1,EpF:()=>NC,n5z:()=>Sg,Ikx:()=>A2,SDv:()=>ib,QtT:()=>rb,N_p:()=>R2,pQV:()=>k2,Zx4:()=>sb,tHW:()=>F2,LFG:()=>fi,$8M:()=>ap,$Z:()=>t0,NdJ:()=>B2,CRH:()=>Pb,kcU:()=>as,O4$:()=>Ln,oxw:()=>db,ALo:()=>v3,lcZ:()=>y3,xi3:()=>C3,Hsn:()=>pb,F$t:()=>hb,Q6J:()=>v2,s9C:()=>z2,DdM:()=>u3,VKq:()=>d3,kEZ:()=>h3,iGM:()=>Ab,MAs:()=>xb,wJu:()=>AC,SjG:()=>OC,x6l:()=>TC,KtG:()=>L,evT:()=>Op,Jf7:()=>Tp,CHM:()=>_l,oJD:()=>Bh,uOi:()=>zh,LSH:()=>Il,P3R:()=>Hh,Udp:()=>C2,d8E:()=>P2,YNc:()=>Wr,W1O:()=>b3,_uU:()=>Hb,Oqu:()=>W2,hij:()=>X1,AsE:()=>Y2,Gf:()=>Ob});let F=null,R=1;const Q=Symbol("SIGNAL");function P(t){const i=F;return F=t,i}function re(t){if((!ye(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==R)){if(!t.producerMustRecompute(t)&&!fe(t))return t.dirty=!1,void(t.lastCleanEpoch=R);t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=R}}function fe(t){De(t);for(let i=0;i 0}function De(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let be=null;var ke=m(8645),Ke=m(7394),it=m(5619),rt=m(7398);const st="https://g.co/ng/security#xss";class Ye extends Error{constructor(i,r){super(Rt(i,r)),this.code=i}}function Rt(t,i){return`NG0${Math.abs(t)}${i?": "+i:""}`}function Gt(t){for(let i in t)if(t[i]===Gt)return i;throw Error("Could not find renamed property on target object.")}function oi(t,i){for(const r in i)i.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=i[r])}function On(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(On).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const i=t.toString();if(null==i)return""+i;const r=i.indexOf("\n");return-1===r?i:i.substring(0,r)}function Yn(t,i){return null==t||""===t?null===i?"":i:null==i||""===i?t:t+" "+i}const En=Gt({__forward_ref__:Gt});function gr(t){return t.__forward_ref__=gr,t.toString=function(){return On(this())},t}function xt(t){return Ii(t)?t():t}function Ii(t){return"function"==typeof t&&t.hasOwnProperty(En)&&t.__forward_ref__===gr}function Xn(t){return t&&!!t.\u0275providers}const ai=Gt({\u0275cmp:Gt}),Zn=Gt({\u0275dir:Gt}),hi=Gt({\u0275pipe:Gt}),pi=Gt({\u0275mod:Gt}),ni=Gt({\u0275fac:Gt}),_i=Gt({__NG_ELEMENT_ID__:Gt}),Hi=Gt({__NG_ENV_ID__:Gt});function Yt(t){return"string"==typeof t?t:null==t?"":String(t)}function B(t,i){throw new Ye(-201,!1)}function Qt(t,i,r,a){throw new Error(`ASSERTION ERROR: ${t}`+(null==a?"":` [Expected=> ${r} ${a} ${i} <=Actual]`))}function xn(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ae(t){return{providers:t.providers||[],imports:t.imports||[]}}function xe(t){return mt(t,nn)||mt(t,hn)}function ot(t){return null!==xe(t)}function mt(t,i){return t.hasOwnProperty(i)?t[i]:null}function Pt(t){return t&&(t.hasOwnProperty(Et)||t.hasOwnProperty(Bn))?t[Et]:null}const nn=Gt({\u0275prov:Gt}),Et=Gt({\u0275inj:Gt}),hn=Gt({ngInjectableDef:Gt}),Bn=Gt({ngInjectorDef:Gt});var Ut=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Ut||{});let Mn;function vi(){return Mn}function wn(t){const i=Mn;return Mn=t,i}function _n(t,i,r){const a=xe(t);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:r&Ut.Optional?null:void 0!==i?i:void B()}const Dn=globalThis;class dn{constructor(i,r){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=xn({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ns={},Zr="__NG_DI_FLAG__",Is="ngTempTokenPath",er=/\n/gm,mr="__source";let _r;function ii(t){const i=_r;return _r=t,i}function vr(t,i=Ut.Default){if(void 0===_r)throw new Ye(-203,!1);return null===_r?_n(t,void 0,i):_r.get(t,i&Ut.Optional?null:void 0,i)}function fi(t,i=Ut.Default){return(vi()||vr)(xt(t),i)}function vn(t,i=Ut.Default){return fi(t,$i(i))}function $i(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Qr(t){const i=[];for(let r=0;r i){h=u-1;break}}}for(;u u?"":c[ae+1].toLowerCase();const ze=8&a?Ne:null;if(ze&&-1!==Ao(ze,k,0)||2&a&&k!==Ne){if(Gi(a))return!1;h=!0}}}}else{if(!h&&!Gi(a)&&!Gi(b))return!1;if(h&&Gi(b))continue;h=!1,a=b|1&a}}return Gi(a)||h}function Gi(t){return 0==(1&t)}function mo(t,i,r,a){if(null===i)return-1;let c=0;if(a||!r){let u=!1;for(;c -1)for(r++;r 0?'="'+_+'"':"")+"]"}else 8&a?c+="."+h:4&a&&(c+=" "+h);else""!==c&&!Gi(h)&&(i+=xo(u,c),c=""),a=h,u=u||!Gi(a);r++}return""!==c&&(i+=xo(u,c)),i}function na(t){return Ar(()=>{const i=z(t),r={...i,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Fs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||nr.Emulated,styles:t.styles||yn,_:null,schemas:t.schemas||null,tView:null,id:""};G(r);const a=t.dependencies;return r.directiveDefs=E(a,!1),r.pipeDefs=E(a,!0),r.id=function Ie(t){let i=0;const r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const c of r)i=Math.imul(31,i)+c.charCodeAt(0)<<0;return i+=2147483648,"c"+i}(r),r})}function ms(t){return gn(t)||ti(t)}function Qs(t){return null!==t}function _o(t){return Ar(()=>({type:t.type,bootstrap:t.bootstrap||yn,declarations:t.declarations||yn,imports:t.imports||yn,exports:t.exports||yn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function vo(t,i){if(null==t)return ji;const r={};for(const a in t)if(t.hasOwnProperty(a)){const c=t[a];let u,h,_=yr.None;Array.isArray(c)?(_=c[0],u=c[1],h=c[2]??u):(u=c,h=c),i?(r[u]=_!==yr.None?[a,_]:a,i[u]=h):r[u]=a}return r}function pn(t){return Ar(()=>{const i=z(t);return G(i),i})}function cr(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[ai]||null}function ti(t){return t[Zn]||null}function li(t){return t[hi]||null}function br(t){const i=gn(t)||ti(t)||li(t);return null!==i&&i.standalone}function Di(t,i){const r=t[pi]||null;if(!r&&!0===i)throw new Error(`Type ${On(t)} does not have '\u0275mod' property.`);return r}function z(t){const i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputTransforms:null,inputConfig:t.inputs||ji,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||yn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vo(t.inputs,i),outputs:vo(t.outputs),debugInfo:null}}function G(t){t.features?.forEach(i=>i(t))}function E(t,i){if(!t)return null;const r=i?li:ms;return()=>("function"==typeof t?t():t).map(a=>r(a)).filter(Qs)}const bt=0,lt=1,jt=2,Nn=3,ci=4,ki=5,Mr=6,_s=7,jn=8,Wi=9,ts=10,ln=11,Ls=12,ia=13,ns=14,An=15,ir=16,Gr=17,Ei=18,Bs=19,No=20,zs=21,ra=22,is=23,on=25,Io=1,ur=7,Js=9,ri=10;var yo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(yo||{});function Kn(t){return Array.isArray(t)&&"object"==typeof t[Io]}function Ci(t){return Array.isArray(t)&&!0===t[Io]}function Fo(t){return 0!=(4&t.flags)}function qs(t){return t.componentOffset>-1}function sa(t){return 1==(1&t.flags)}function xr(t){return!!t.template}function Ia(t){return 0!=(512&t[jt])}function ui(t,i){return t.hasOwnProperty(ni)?t[ni]:null}class Us{constructor(i,r,a){this.previousValue=i,this.currentValue=r,this.firstChange=a}isFirstChange(){return this.firstChange}}function Nr(t,i,r,a){null!==i?i.applyValueToInputSignal(i,a):t[r]=a}function dr(){return Ir}function Ir(t){return t.type.prototype.ngOnChanges&&(t.setInput=Fr),Ai}function Ai(){const t=ka(this),i=t?.current;if(i){const r=t.previous;if(r===ji)t.previous=i;else for(let a in i)r[a]=i[a];t.current=null,this.ngOnChanges(i)}}function Fr(t,i,r,a,c){const u=this.declaredInputs[a],h=ka(t)||function oa(t,i){return t[dl]=i}(t,{previous:ji,current:null}),_=h.current||(h.current={}),b=h.previous,k=b[u];_[u]=new Us(k&&k.currentValue,r,b===ji),Nr(t,i,c,r)}dr.ngInherit=!0;const dl="__ngSimpleChanges__";function ka(t){return t[dl]||null}const hr=function(t,i,r){},nc="svg";let rr=!1;function Hn(t){for(;Array.isArray(t);)t=t[bt];return t}function La(t,i){return Hn(i[t])}function Ti(t,i){return Hn(i[t.index])}function wo(t,i){return t.data[i]}function So(t,i){return t[i]}function sr(t,i){const r=i[t];return Kn(r)?r:r[bt]}function Ba(t){return 128==(128&t[jt])}function Pi(t,i){return null==i?null:t[i]}function ua(t){t[Gr]=0}function iu(t){1024&t[jt]||(t[jt]|=1024,Ba(t)&&Lo(t))}function su(t){return 9216&t[jt]||t[is]?.dirty}function fl(t){su(t)?Lo(t):64&t[jt]&&(function la(){return rr}()?(t[jt]|=1024,Lo(t)):t[ts].changeDetectionScheduler?.notify())}function Lo(t){t[ts].changeDetectionScheduler?.notify();let i=ss(t);for(;null!==i&&!(8192&i[jt])&&(i[jt]|=8192,Ba(i));)i=ss(i)}function da(t,i){if(256==(256&t[jt]))throw new Ye(911,!1);null===t[zs]&&(t[zs]=[]),t[zs].push(i)}function ss(t){const i=t[Nn];return Ci(i)?i[Nn]:i}const Qe={lFrame:vl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ou(){return Qe.bindingsEnabled}function Bo(){return null!==Qe.skipHydrationRootTNode}function ut(){return Qe.lFrame.lView}function Tn(){return Qe.lFrame.tView}function _l(t){return Qe.lFrame.contextLView=t,t[jn]}function L(t){return Qe.lFrame.contextLView=null,t}function y(){let t=p();for(;null!==t&&64===t.type;)t=t.parent;return t}function p(){return Qe.lFrame.currentTNode}function C(){const t=Qe.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function O(t,i){const r=Qe.lFrame;r.currentTNode=t,r.isParent=i}function Y(){return Qe.lFrame.isParent}function ce(){Qe.lFrame.isParent=!1}function M(){const t=Qe.lFrame;let i=t.bindingRootIndex;return-1===i&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function v(){return Qe.lFrame.bindingIndex}function I(){return Qe.lFrame.bindingIndex++}function W(t){const i=Qe.lFrame,r=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,r}function Ge(t){Qe.lFrame.inI18n=t}function je(t,i){const r=Qe.lFrame;r.bindingIndex=r.bindingRootIndex=t,Jt(i)}function Jt(t){Qe.lFrame.currentDirectiveIndex=t}function Xt(t){const i=Qe.lFrame.currentDirectiveIndex;return-1===i?null:t[i]}function kn(){return Qe.lFrame.currentQueryIndex}function Li(t){Qe.lFrame.currentQueryIndex=t}function Mi(t){const i=t[lt];return 2===i.type?i.declTNode:1===i.type?t[ki]:null}function xi(t,i,r){if(r&Ut.SkipSelf){let c=i,u=t;for(;!(c=c.parent,null!==c||r&Ut.Host||(c=Mi(u),null===c||(u=u[ns],10&c.type))););if(null===c)return!1;i=c,t=u}const a=Qe.lFrame=pr();return a.currentTNode=i,a.lView=t,!0}function os(t){const i=pr(),r=t[lt];Qe.lFrame=i,i.currentTNode=r.firstChild,i.lView=t,i.tView=r,i.contextLView=t,i.bindingIndex=r.bindingStartIndex,i.inI18n=!1}function pr(){const t=Qe.lFrame,i=null===t?null:t.child;return null===i?vl(t):i}function vl(t){const i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=i),i}function Xs(){const t=Qe.lFrame;return Qe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const yl=Xs;function zo(){const t=Xs();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Vt(){return Qe.lFrame.selectedIndex}function en(t){Qe.lFrame.selectedIndex=t}function $t(){const t=Qe.lFrame;return wo(t.tView,t.selectedIndex)}function Ln(){Qe.lFrame.currentNamespace=nc}function as(){!function ls(){Qe.lFrame.currentNamespace=null}()}let Bt=!0;function Va(){return Bt}function Do(t){Bt=t}function eo(t,i){for(let r=i.directiveStart,a=i.directiveEnd;r=a)break}else i[b]<0&&(t[Gr]+=65536),(_>14 >16&&(3&t[jt])===i&&(t[jt]+=16384,mg(_,u)):mg(_,u)}const oc=-1;class ac{constructor(i,r,a){this.factory=i,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=a}}function lc(t){return t!==oc}function Cs(t){return 32767&t}function to(t,i){let r=function bg(t){return t>>16}(t),a=i;for(;r>0;)a=a[ns],r--;return a}let Vo=!0;function pa(t){const i=Vo;return Vo=t,i}const ep=255,no=5;let zd=0;const bs={};function Ha(t,i){const r=cc(t,i);if(-1!==r)return r;const a=i[lt];a.firstCreatePass&&(t.injectorIndex=i.length,lu(a.data,t),lu(i,null),lu(a.blueprint,null));const c=uc(t,i),u=t.injectorIndex;if(lc(c)){const h=Cs(c),_=to(c,i),b=_[lt].data;for(let k=0;k<8;k++)i[u+k]=_[h+k]|b[h+k]}return i[u+8]=c,u}function lu(t,i){t.push(0,0,0,0,0,0,0,0,i)}function cc(t,i){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===i[t.injectorIndex+8]?-1:t.injectorIndex}function uc(t,i){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let r=0,a=null,c=i;for(;null!==c;){if(a=Dg(c),null===a)return oc;if(r++,c=c[ns],-1!==a.injectorIndex)return a.injectorIndex|r<<16}return oc}function tp(t,i,r){!function Vd(t,i,r){let a;"string"==typeof r?a=r.charCodeAt(0)||0:r.hasOwnProperty(_i)&&(a=r[_i]),null==a&&(a=r[_i]=zd++);const c=a&ep;i.data[t+(c>>no)]|=1< =0?i&ep:wg:i}(r);if("function"==typeof u){if(!xi(i,t,a))return a&Ut.Host?ip(c,0,a):rp(i,r,a,c);try{let h;if(h=u(a),null!=h||a&Ut.Optional)return h;B()}finally{yl()}}else if("number"==typeof u){let h=null,_=cc(t,i),b=oc,k=a&Ut.Host?i[An][ki]:null;for((-1===_||a&Ut.SkipSelf)&&(b=-1===_?uc(t,i):i[_+8],b!==oc&&hc(a,!1)?(h=i[lt],_=Cs(b),i=to(b,i)):_=-1);-1!==_;){const Z=i[lt];if(dc(u,_,Z.data)){const ae=Mg(_,i,r,h,a,k);if(ae!==bs)return ae}b=i[_+8],b!==oc&&hc(a,i[lt].data[_+8]===k)&&dc(u,_,i)?(h=Z,_=Cs(b),i=to(b,i)):_=-1}}return c}function Mg(t,i,r,a,c,u){const h=i[lt],_=h.data[t+8],Z=Ho(_,h,r,null==a?qs(_)&&Vo:a!=h&&0!=(3&_.type),c&Ut.Host&&u===_);return null!==Z?io(i,h,Z,_):bs}function Ho(t,i,r,a,c){const u=t.providerIndexes,h=i.data,_=1048575&u,b=t.directiveStart,Z=u>>20,Ne=c?_+Z:t.directiveEnd;for(let ze=a?_:_+Z;ze =b&&tt.type===r)return ze}if(c){const ze=h[b];if(ze&&xr(ze)&&ze.type===r)return b}return null}function io(t,i,r,a){let c=t[r];const u=i.data;if(function _g(t){return t instanceof ac}(c)){const h=c;h.resolving&&function U(t,i){const r=i?`. Dependency path: ${i.join(" > ")} > ${t}`:"";throw new Ye(-200,`Circular dependency in DI detected for ${t}${r}`)}(function sn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Yt(t)}(u[r]));const _=pa(h.canSeeViewProviders);h.resolving=!0;const k=h.injectImpl?wn(h.injectImpl):null;xi(t,a,Ut.Default);try{c=t[r]=h.factory(void 0,u,t,a),i.firstCreatePass&&r>=a.directiveStart&&function Zi(t,i,r){const{ngOnChanges:a,ngOnInit:c,ngDoCheck:u}=i.type.prototype;if(a){const h=Ir(i);(r.preOrderHooks??=[]).push(t,h),(r.preOrderCheckHooks??=[]).push(t,h)}c&&(r.preOrderHooks??=[]).push(0-t,c),u&&((r.preOrderHooks??=[]).push(t,u),(r.preOrderCheckHooks??=[]).push(t,u))}(r,u[r],i)}finally{null!==k&&wn(k),pa(_),h.resolving=!1,yl()}}return c}function dc(t,i,r){return!!(r[i+(t>>no)]&1< {const i=t.prototype.constructor,r=i[ni]||op(i),a=Object.prototype;let c=Object.getPrototypeOf(t.prototype).constructor;for(;c&&c!==a;){const u=c[ni]||op(c);if(u&&u!==r)return u;c=Object.getPrototypeOf(c)}return u=>new u})}function op(t){return Ii(t)?()=>{const i=op(xt(t));return i&&i()}:ui(t)}function Dg(t){const i=t[lt],r=i.type;return 2===r?i.declTNode:1===r?t[ki]:null}function ap(t){return function Hd(t,i){if("class"===i)return t.classes;if("style"===i)return t.styles;const r=t.attrs;if(r){const a=r.length;let c=0;for(;c{const a=function Ud(t){return function(...r){if(t){const a=t(...r);for(const c in a)this[c]=a[c]}}}(i);function c(...u){if(this instanceof c)return a.apply(this,u),this;const h=new c(...u);return _.annotation=h,_;function _(b,k,Z){const ae=b.hasOwnProperty(fc)?b[fc]:Object.defineProperty(b,fc,{value:[]})[fc];for(;ae.length<=Z;)ae.push(null);return(ae[Z]=ae[Z]||[]).push(h),b}}return r&&(c.prototype=Object.create(r.prototype)),c.prototype.ngMetadataName=t,c.annotationCls=c,c})}const cp=Function;function Cl(t,i){t.forEach(r=>Array.isArray(r)?Cl(r,i):i(r))}function Wd(t,i,r){i>=t.length?t.push(r):t.splice(i,0,r)}function _c(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function Ms(t,i,r){let a=bl(t,i);return a>=0?t[1|a]=r:(a=~a,function Zd(t,i,r,a){let c=t.length;if(c==i)t.push(r,a);else if(1===c)t.push(a,t[0]),t[0]=r;else{for(c--,t.push(t[c-1],t[c]);c>i;)t[c]=t[c-2],c--;t[i]=r,t[i+1]=a}}(t,a,i,r)),a}function Kd(t,i){const r=bl(t,i);if(r>=0)return t[1|r]}function bl(t,i){return function Qd(t,i,r){let a=0,c=t.length>>r;for(;c!==a;){const u=a+(c-a>>1),h=t[u< i?c=u:a=u+1}return~(c< {r.push(h)};return Cl(i,h=>{const _=h;vu(_,u,[],a)&&(c||=[],c.push(_))}),void 0!==c&&mp(c,u),r}function mp(t,i){for(let r=0;r {i(u,a)})}}function vu(t,i,r,a){if(!(t=xt(t)))return!1;let c=null,u=Pt(t);const h=!u&&gn(t);if(u||h){if(h&&!h.standalone)return!1;c=t}else{const b=t.ngModule;if(u=Pt(b),!u)return!1;c=b}const _=a.has(c);if(h){if(_)return!1;if(a.add(c),h.dependencies){const b="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const k of b)vu(k,i,r,a)}}else{if(!u)return!1;{if(null!=u.imports&&!_){let k;a.add(c);try{Cl(u.imports,Z=>{vu(Z,i,r,a)&&(k||=[],k.push(Z))})}finally{}void 0!==k&&mp(k,i)}if(!_){const k=ui(c)||(()=>new c);i({provide:c,useFactory:k,deps:yn},c),i({provide:Xd,useValue:c,multi:!0},c),i({provide:ja,useValue:()=>fi(c),multi:!0},c)}const b=u.providers;if(null!=b&&!_){const k=t;eh(b,Z=>{i(Z,k)})}}}return c!==t&&void 0!==t.providers}function eh(t,i){for(let r of t)Xn(r)&&(r=r.\u0275providers),Array.isArray(r)?eh(r,i):i(r)}const zg=Gt({provide:String,useValue:Gt});function th(t){return null!==t&&"object"==typeof t&&zg in t}function Ga(t){return"function"==typeof t}const nh=new dn("Set Injector scope."),yu={},Hg={};let ih;function Cu(){return void 0===ih&&(ih=new mu),ih}class Eo{}class wl extends Eo{get destroyed(){return this._destroyed}constructor(i,r,a,c){super(),this.parent=r,this.source=a,this.scopes=c,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,sh(i,h=>this.processProvider(h)),this.records.set(pp,yc(void 0,this)),c.has("environment")&&this.records.set(Eo,yc(void 0,this));const u=this.records.get(nh);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(Xd,yn,Ut.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of i)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(i){return this.assertNotDestroyed(),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){this.assertNotDestroyed();const r=ii(this),a=wn(void 0);try{return i()}finally{ii(r),wn(a)}}get(i,r=Ns,a=Ut.Default){if(this.assertNotDestroyed(),i.hasOwnProperty(Hi))return i[Hi](this);a=$i(a);const u=ii(this),h=wn(void 0);try{if(!(a&Ut.SkipSelf)){let b=this.records.get(i);if(void 0===b){const k=function Wg(t){return"function"==typeof t||"object"==typeof t&&t instanceof dn}(i)&&xe(i);b=k&&this.injectableDefInScope(k)?yc(rh(i),yu):null,this.records.set(i,b)}if(null!=b)return this.hydrate(i,b)}return(a&Ut.Self?Cu():this.parent).get(i,r=a&Ut.Optional&&r===Ns?null:r)}catch(_){if("NullInjectorError"===_.name){if((_[Is]=_[Is]||[]).unshift(On(i)),u)throw _;return function Zs(t,i,r,a){const c=t[Is];throw i[mr]&&c.unshift(i[mr]),t.message=function qr(t,i,r,a=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let c=On(i);if(Array.isArray(i))c=i.map(On).join(" -> ");else if("object"==typeof i){let u=[];for(let h in i)if(i.hasOwnProperty(h)){let _=i[h];u.push(h+":"+("string"==typeof _?JSON.stringify(_):On(_)))}c=`{${u.join(", ")}}`}return`${r}${a?"("+a+")":""}[${c}]: ${t.replace(er,"\n ")}`}("\n"+t.message,c,r,a),t.ngTokenPath=c,t[Is]=null,t}(_,i,"R3InjectorError",this.source)}throw _}finally{wn(h),ii(u)}}resolveInjectorInitializers(){const i=ii(this),r=wn(void 0);try{const c=this.get(ja,yn,Ut.Self);for(const u of c)u()}finally{ii(i),wn(r)}}toString(){const i=[],r=this.records;for(const a of r.keys())i.push(On(a));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ye(205,!1)}processProvider(i){let r=Ga(i=xt(i))?i:xt(i&&i.provide);const a=function $g(t){return th(t)?yc(void 0,t.useValue):yc(yp(t),yu)}(i);if(!Ga(i)&&!0===i.multi){let c=this.records.get(r);c||(c=yc(void 0,yu,!0),c.factory=()=>Qr(c.multi),this.records.set(r,c)),r=i,c.multi.push(i)}this.records.set(r,a)}hydrate(i,r){return r.value===yu&&(r.value=Hg,r.value=r.factory()),"object"==typeof r.value&&r.value&&function Gg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(i){if(!i.providedIn)return!1;const r=xt(i.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(i){const r=this._onDestroyHooks.indexOf(i);-1!==r&&this._onDestroyHooks.splice(r,1)}}function rh(t){const i=xe(t),r=null!==i?i.factory:ui(t);if(null!==r)return r;if(t instanceof dn)throw new Ye(204,!1);if(t instanceof Function)return function Ug(t){if(t.length>0)throw new Ye(204,!1);const r=function Ot(t){return t&&(t[nn]||t[hn])||null}(t);return null!==r?()=>r.factory(t):()=>new t}(t);throw new Ye(204,!1)}function yp(t,i,r){let a;if(Ga(t)){const c=xt(t);return ui(c)||rh(c)}if(th(t))a=()=>xt(t.useValue);else if(function vp(t){return!(!t||!t.useFactory)}(t))a=()=>t.useFactory(...Qr(t.deps||[]));else if(function _p(t){return!(!t||!t.useExisting)}(t))a=()=>fi(xt(t.useExisting));else{const c=xt(t&&(t.useClass||t.provide));if(!function jg(t){return!!t.deps}(t))return ui(c)||rh(c);a=()=>new c(...Qr(t.deps))}return a}function yc(t,i,r=!1){return{factory:t,value:i,multi:r?[]:void 0}}function sh(t,i){for(const r of t)Array.isArray(r)?sh(r,i):r&&Xn(r)?sh(r.\u0275providers,i):i(r)}function Yg(t,i){t instanceof wl&&t.assertNotDestroyed();const a=ii(t),c=wn(void 0);try{return i()}finally{ii(a),wn(c)}}function wp(t,i=null,r=null,a){const c=Sp(t,i,r,a);return c.resolveInjectorInitializers(),c}function Sp(t,i=null,r=null,a,c=new Set){const u=[r||yn,fp(t)];return a=a||("object"==typeof t?void 0:On(t)),new wl(u,i||Cu(),a||null,c)}let lh,$s=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=Ns;static#t=this.NULL=new mu;static create(r,a){if(Array.isArray(r))return wp({name:""},a,r,"");{const c=r.name??"";return wp({name:c},r.parent,r.providers,c)}}static#n=this.\u0275prov=xn({token:t,providedIn:"any",factory:()=>fi(pp)});static#i=this.__NG_ELEMENT_ID__=-1}return t})();function ga(t){return!!Di(t)}function tm(t){lh=t}function Wa(){if(void 0!==lh)return lh;if(typeof document<"u")return document;throw new Ye(210,!1)}const nm=new dn("AppId",{providedIn:"root",factory:()=>kv}),kv="ng",Ep=new dn("Platform Initializer"),ch=new dn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Lv=new dn("AnimationModuleType"),im=new dn("CSP nonce",{providedIn:"root",factory:()=>Wa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Tp(t){return t.ownerDocument.defaultView}function Op(t){return t.ownerDocument}function ws(t){return t instanceof Function?t():t}function Su(t){return 128==(128&t.flags)}var gh=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(gh||{});const Yv=/^>|^->||--!>|)/g,pm="\u200b$1\u200b";const mh=new Map;let fm=0;const vh="__ngContext__";function wr(t,i){Kn(i)?(t[vh]=i[Bs],function mm(t){mh.set(t[Bs],t)}(i)):t[vh]=i}let Ch;function bh(t,i){return Ch(t,i)}function Dl(t,i,r,a,c){if(null!=a){let u,h=!1;Ci(a)?u=a:Kn(a)&&(h=!0,a=a[bt]);const _=Hn(a);0===t&&null!==r?null==c?xm(i,r,_):El(i,r,_,c||null,!0):1===t&&null!==r?El(i,r,_,c||null,!0):2===t?Pu(i,_,h):3===t&&i.destroyNode(_),null!=u&&function Sr(t,i,r,a,c){const u=r[ur];u!==Hn(r)&&Dl(i,t,a,u,c);for(let _=ri;_ i.replace(hm,pm))}(i))}function Eu(t,i,r){return t.createElement(i,r)}function Zp(t,i){Ec(t,i,i[ln],2,null,null)}function Kp(t,i){const r=t[Js],a=r.indexOf(i);r.splice(a,1)}function Sc(t,i){if(t.length<=ri)return;const r=ri+i,a=t[r];if(a){const c=a[ir];null!==c&&c!==t&&Kp(c,a),i>0&&(t[r-1][ci]=a[ci]);const u=_c(t,ri+i);!function Sm(t,i){Zp(t,i),i[bt]=null,i[ki]=null}(a[lt],a);const h=u[Ei];null!==h&&h.detachView(u[lt]),a[Nn]=null,a[ci]=null,a[jt]&=-129}return a}function Tu(t,i){if(!(256&i[jt])){const r=i[ln];r.destroyNode&&Ec(t,i,r,3,null,null),function Em(t){let i=t[Ls];if(!i)return wh(t[lt],t);for(;i;){let r=null;if(Kn(i))r=i[Ls];else{const a=i[ri];a&&(r=a)}if(!r){for(;i&&!i[ci]&&i!==t;)Kn(i)&&wh(i[lt],i),i=i[Nn];null===i&&(i=t),Kn(i)&&wh(i[lt],i),r=i&&i[ci]}i=r}}(i)}}function wh(t,i){if(!(256&i[jt])){i[jt]&=-129,i[jt]|=256,i[is]&&function Re(t){if(De(t),ye(t))for(let i=0;i =0?a[h]():a[-h].unsubscribe(),u+=2}else r[u].call(a[r[u+1]]);null!==a&&(i[_s]=null);const c=i[zs];if(null!==c){i[zs]=null;for(let u=0;u -1){const{encapsulation:u}=t.data[a.directiveStart+c];if(u===nr.None||u===nr.Emulated)return null}return Ti(a,r)}}function El(t,i,r,a,c){t.insertBefore(i,r,a,c)}function xm(t,i,r){t.appendChild(i,r)}function Nm(t,i,r,a,c){null!==a?El(t,i,r,a,c):xm(t,i,r)}function Ou(t,i){return t.parentNode(i)}function Jp(t,i,r){return Xp(t,i,r)}function qp(t,i,r){return 40&t.type?Ti(t,r):null}let Dh,jo,Ol,Xp=qp;function ef(t,i){Xp=t,Dh=i}function Au(t,i,r,a){const c=Sh(t,a,i),u=i[ln],_=Jp(a.parent||i[ki],a,i);if(null!=c)if(Array.isArray(r))for(let b=0;b t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jo}()?.createHTML(t)||t}function Al(){if(void 0===Ol&&(Ol=null,Dn.trustedTypes))try{Ol=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ol}function Ph(t){return Al()?.createHTML(t)||t}function xh(t){return Al()?.createScriptURL(t)||t}class Bi{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${st})`}}class Ka extends Bi{getTypeName(){return"HTML"}}class Iu extends Bi{getTypeName(){return"Style"}}class kr extends Bi{getTypeName(){return"Script"}}class Bm extends Bi{getTypeName(){return"URL"}}class Nh extends Bi{getTypeName(){return"ResourceURL"}}function Go(t){return t instanceof Bi?t.changingThisBreaksApplicationSecurity:t}function va(t,i){const r=function zm(t){return t instanceof Bi&&t.getTypeName()||null}(t);if(null!=r&&r!==i){if("ResourceURL"===r&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${r} (see ${st})`)}return r===i}function Fu(t){return new Ka(t)}function Ih(t){return new Iu(t)}function Pl(t){return new kr(t)}function Vm(t){return new Bm(t)}function xl(t){return new Nh(t)}function Tc(t){const i=new sf(t);return function Fh(){try{return!!(new window.DOMParser).parseFromString(ro(""),"text/html")}catch{return!1}}()?new Wo(i):i}class Wo{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=" "+i;try{const r=(new window.DOMParser).parseFromString(ro(i),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(i):(r.removeChild(r.firstChild),r)}catch{return null}}}class sf{constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){const r=this.inertDocument.createElement("template");return r.innerHTML=ro(i),r}}const Rh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nl(t){return(t=String(t)).match(Rh)?t:"unsafe:"+t}function Yo(t){const i={};for(const r of t.split(","))i[r]=!0;return i}function Qa(...t){const i={};for(const r of t)for(const a in r)r.hasOwnProperty(a)&&(i[a]=!0);return i}const af=Yo("area,br,col,hr,img,wbr"),Ru=Yo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),si=Yo("rp,rt"),ya=Qa(af,Qa(Ru,Yo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Qa(si,Yo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Qa(si,Ru)),kh=Yo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),It=Qa(kh,Yo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Yo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),cf=Yo("script,style,template");class Hm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(i){let r=i.firstChild,a=!0;for(;r;)if(r.nodeType===Node.ELEMENT_NODE?a=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,a&&r.firstChild)r=r.firstChild;else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let c=this.checkClobberedElement(r,r.nextSibling);if(c){r=c;break}r=this.checkClobberedElement(r,r.parentNode)}return this.buf.join("")}startElement(i){const r=i.nodeName.toLowerCase();if(!ya.hasOwnProperty(r))return this.sanitizedSomething=!0,!cf.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const a=i.attributes;for(let c=0;c "),!0}endElement(i){const r=i.nodeName.toLowerCase();ya.hasOwnProperty(r)&&!af.hasOwnProperty(r)&&(this.buf.push(""),this.buf.push(r),this.buf.push(">"))}chars(i){this.buf.push(uf(i))}checkClobberedElement(i,r){if(r&&(i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`);return r}}const Um=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$m=/([^\#-~ |!])/g;function uf(t){return t.replace(/&/g,"&").replace(Um,function(i){return""+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace($m,function(i){return""+i.charCodeAt(0)+";"}).replace(//g,">")}let Bu;function df(t,i){let r=null;try{Bu=Bu||Tc(t);let a=i?String(i):"";r=Bu.getInertBodyElement(a);let c=5,u=a;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,a=u,u=r.innerHTML,r=Bu.getInertBodyElement(a)}while(a!==u);return ro((new Hm).sanitizeChildren(Lh(r)||r))}finally{if(r){const a=Lh(r)||r;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function Lh(t){return"content"in t&&function jm(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Es=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Es||{});function Bh(t){const i=Oc();return i?Ph(i.sanitize(Es.HTML,t)||""):va(t,"HTML")?Ph(Go(t)):df(Wa(),Yt(t))}function Il(t){const i=Oc();return i?i.sanitize(Es.URL,t)||"":va(t,"URL")?Go(t):Nl(Yt(t))}function zh(t){const i=Oc();if(i)return xh(i.sanitize(Es.RESOURCE_URL,t)||"");if(va(t,"ResourceURL"))return xh(Go(t));throw new Ye(904,!1)}function Hh(t,i,r){return function pf(t,i){return"src"===i&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===i&&("base"===t||"link"===t)?zh:Il}(i,r)(t)}function Oc(){const t=ut();return t&&t[ts].sanitizer}class Uh{}let ju=()=>null;function Ic(t,i,r=!1){return ju(t,i,r)}class Gh{}class Cf{}class qa{resolveComponentFactory(i){throw function bf(t){const i=Error(`No component factory found for ${On(t)}.`);return i.ngComponent=t,i}(i)}}let Fc=(()=>{class t{static#e=this.NULL=new qa}return t})();function Ym(){return Xa(y(),ut())}function Xa(t,i){return new Rl(Ti(t,i))}let Rl=(()=>{class t{constructor(r){this.nativeElement=r}static#e=this.__NG_ELEMENT_ID__=Ym}return t})();function Yu(t){return t instanceof Rl?t.nativeElement:t}class Mf{}let wf=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Zm(){const t=ut(),r=sr(y().index,t);return(Kn(r)?r:t)[ln]}()}return t})(),Km=(()=>{class t{static#e=this.\u0275prov=xn({token:t,providedIn:"root",factory:()=>null})}return t})();const Wh={};function qm(t){const i=P(null);try{return t()}finally{P(i)}}function Yh(t){return!!Kh(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Kh(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class Ef{constructor(){}supports(i){return Yh(i)}create(i){return new Xv(i)}}const Xm=(t,i)=>i;class Xv{constructor(i){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=i||Xm}forEachItem(i){let r;for(r=this._itHead;null!==r;r=r._next)i(r)}forEachOperation(i){let r=this._itHead,a=this._removalsHead,c=0,u=null;for(;r||a;){const h=!a||r&&r.currentIndex {h=this._trackByFn(c,_),null!==r&&Object.is(r.trackById,h)?(a&&(r=this._verifyReinsertion(r,_,h,c)),Object.is(r.item,_)||this._addIdentityChange(r,_)):(r=this._mismatch(r,_,h,c),a=!0),r=r._next,c++}),this.length=c;return this._truncate(r),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,r,a,c){let u;return null===i?u=this._itTail:(u=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._reinsertAfter(i,u,c)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(a,c))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._moveAfter(i,u,c)):i=this._addAfter(new ey(r,a),u,c),i}_verifyReinsertion(i,r,a,c){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==u?i=this._reinsertAfter(u,i._prev,c):i.currentIndex!=c&&(i.currentIndex=c,this._addToMoves(i,c)),i}_truncate(i){for(;null!==i;){const r=i._next;this._addToRemovals(this._unlink(i)),i=r}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,r,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const c=i._prevRemoved,u=i._nextRemoved;return null===c?this._removalsHead=u:c._nextRemoved=u,null===u?this._removalsTail=c:u._prevRemoved=c,this._insertAfter(i,r,a),this._addToMoves(i,a),i}_moveAfter(i,r,a){return this._unlink(i),this._insertAfter(i,r,a),this._addToMoves(i,a),i}_addAfter(i,r,a){return this._insertAfter(i,r,a),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,r,a){const c=null===r?this._itHead:r._next;return i._next=c,i._prev=r,null===c?this._itTail=i:c._prev=i,null===r?this._itHead=i:r._next=i,null===this._linkedRecords&&(this._linkedRecords=new e_),this._linkedRecords.put(i),i.currentIndex=a,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const r=i._prev,a=i._next;return null===r?this._itHead=a:r._next=a,null===a?this._itTail=r:a._prev=r,i}_addToMoves(i,r){return i.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new e_),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,r){return i.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class ey{constructor(i,r){this.item=i,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ty{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,r){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===r||r<=a.currentIndex)&&Object.is(a.trackById,i))return a;return null}remove(i){const r=i._prevDup,a=i._nextDup;return null===r?this._head=a:r._nextDup=a,null===a?this._tail=r:a._prevDup=r,null===this._head}}class e_{constructor(){this.map=new Map}put(i){const r=i.trackById;let a=this.map.get(r);a||(a=new ty,this.map.set(r,a)),a.add(i)}get(i,r){const c=this.map.get(i);return c?c.get(i,r):null}remove(i){const r=i.trackById;return this.map.get(r).remove(i)&&this.map.delete(r),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function t_(t,i,r){const a=t.previousIndex;if(null===a)return a;let c=0;return r&&a {if(r&&r.key===c)this._maybeAddToChanges(r,a),this._appendAfter=r,r=r._next;else{const u=this._getOrCreateRecordForKey(c,a);r=this._insertBeforeOrAppend(r,u)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let a=r;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,r){if(i){const a=i._prev;return r._next=i,r._prev=a,i._prev=r,a&&(a._next=r),i===this._mapHead&&(this._mapHead=r),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(i,r){if(this._records.has(i)){const c=this._records.get(i);this._maybeAddToChanges(c,r);const u=c._prev,h=c._next;return u&&(u._next=h),h&&(h._prev=u),c._next=null,c._prev=null,c}const a=new iy(i);return this._records.set(i,a),a.currentValue=r,this._addToAdditions(a),a}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,r){Object.is(r,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=r,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,r){i instanceof Map?i.forEach(r):Object.keys(i).forEach(a=>r(i[a],a))}}class iy{constructor(i){this.key=i,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function i_(){return new Tf([new Ef])}let Tf=(()=>{class t{static#e=this.\u0275prov=xn({token:t,providedIn:"root",factory:i_});constructor(r){this.factories=r}static create(r,a){if(null!=a){const c=a.factories.slice();r=r.concat(c)}return new t(r)}static extend(r){return{provide:t,useFactory:a=>t.create(r,a||i_()),deps:[[t,new fu,new pu]]}}find(r){const a=this.factories.find(c=>c.supports(r));if(null!=a)return a;throw new Ye(901,!1)}}return t})();function r_(){return new Of([new n_])}let Of=(()=>{class t{static#e=this.\u0275prov=xn({token:t,providedIn:"root",factory:r_});constructor(r){this.factories=r}static create(r,a){if(a){const c=a.factories.slice();r=r.concat(c)}return new t(r)}static extend(r){return{provide:t,useFactory:a=>t.create(r,a||r_()),deps:[[t,new fu,new pu]]}}find(r){const a=this.factories.find(c=>c.supports(r));if(a)return a;throw new Ye(901,!1)}}return t})();function wa(t,i,r,a,c=!1){for(;null!==r;){const u=i[r.index];null!==u&&a.push(Hn(u)),Ci(u)&&s_(u,a);const h=r.type;if(8&h)wa(t,i,r.child,a);else if(32&h){const _=bh(r,i);let b;for(;b=_();)a.push(b)}else if(16&h){const _=tf(i,r);if(Array.isArray(_))a.push(..._);else{const b=ss(i[An]);wa(b[lt],b,_,a,!0)}}r=c?r.projectionNext:r.next}return a}function s_(t,i){for(let r=ri;r !1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Lo(t.lView)},consumerOnSignalRead(){this.lView[is]=this}};function l_(t){return u_(t[Ls])}function c_(t){return u_(t[ci])}function u_(t){for(;null!==t&&!Ci(t);)t=t[ci];return t}function Pf(t){return t.ngOriginalError}class Sa{constructor(){this._console=console}handleError(i){const r=this._findOriginalError(i);this._console.error("ERROR",i),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(i){let r=i&&Pf(i);for(;r&&Pf(r);)r=Pf(r);return r||null}}const xf=new dn("",{providedIn:"root",factory:()=>vn(Sa).handleError.bind(void 0)}),Nf=new dn("",{providedIn:"root",factory:()=>!1}),mn={};function Xh(t=1){e0(Tn(),ut(),Vt()+t,!1)}function e0(t,i,r,a){if(!a)if(3==(3&i[jt])){const u=t.preOrderCheckHooks;null!==u&&mi(i,u,r)}else{const u=t.preOrderHooks;null!==u&&ys(i,u,0,r)}en(r)}function tl(t,i=Ut.Default){const r=ut();return null===r?fi(t,i):Ua(y(),r,xt(t),i)}function t0(){throw new Error("invalid")}function n0(t,i,r,a,c,u){const h=P(null);try{let _=null;c&yr.SignalBased&&(_=i[a][Q]),null!==_&&void 0!==_.transformFn&&(u=_.transformFn(u)),c&yr.HasDecoratorInputTransform&&(u=t.inputTransforms[a].call(i,u)),null!==t.setInput?t.setInput(i,_,u,r,a):Nr(i,_,a,u)}finally{P(h)}}function Rc(t,i,r,a,c,u,h,_,b,k,Z){const ae=i.blueprint.slice();return ae[bt]=c,ae[jt]=204|a,(null!==k||t&&2048&t[jt])&&(ae[jt]|=2048),ua(ae),ae[Nn]=ae[ns]=t,ae[jn]=r,ae[ts]=h||t&&t[ts],ae[ln]=_||t&&t[ln],ae[Wi]=b||t&&t[Wi]||null,ae[ki]=u,ae[Bs]=function gm(){return fm++}(),ae[Mr]=Z,ae[No]=k,ae[An]=2==i.type?t[An]:ae,ae}function Da(t,i,r,a,c){let u=t.data[i];if(null===u)u=kl(t,i,r,a,c),function ue(){return Qe.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=r,u.value=a,u.attrs=c;const h=C();u.injectorIndex=null===h?-1:h.injectorIndex}return O(u,!0),u}function kl(t,i,r,a,c){const u=p(),h=Y(),b=t.data[i]=function r0(t,i,r,a,c,u){let h=i?i.injectorIndex:-1,_=0;return Bo()&&(_|=128),{type:r,index:a,insertBeforeIndex:null,injectorIndex:h,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:_,providerIndexes:0,value:c,attrs:u,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,h?u:u&&u.parent,r,i,a,c);return null===t.firstChild&&(t.firstChild=b),null!==u&&(h?null==u.child&&null!==b.parent&&(u.child=b):null===u.next&&(u.next=b,b.prev=u)),b}function Ll(t,i,r,a){if(0===r)return-1;const c=i.length;for(let u=0;u on&&e0(t,i,on,!1),hr(h?2:0,c),r(a,c)}finally{en(u),hr(h?3:1,c)}}function oo(t,i,r){if(Fo(i)){const a=P(null);try{const u=i.directiveEnd;for(let h=i.directiveStart;hnull;function Hf(t,i,r,a,c){for(let u in i){if(!i.hasOwnProperty(u))continue;const h=i[u];if(void 0===h)continue;a??={};let _,b=yr.None;Array.isArray(h)?(_=h[0],b=h[1]):_=h;let k=u;if(null!==c){if(!c.hasOwnProperty(u))continue;k=c[u]}0===t?Uf(a,r,k,_,b):Uf(a,r,k,_)}return a}function Uf(t,i,r,a,c){let u;t.hasOwnProperty(r)?(u=t[r]).push(i,a):u=t[r]=[i,a],void 0!==c&&u.push(c)}function Os(t,i,r,a,c,u,h,_){const b=Ti(i,r);let Z,k=i.inputs;!_&&null!=k&&(Z=k[a])?(Jf(t,r,Z,a,c),qs(i)&&function __(t,i){const r=sr(i,t);16&r[jt]||(r[jt]|=64)}(r,i.index)):3&i.type&&(a=function gy(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(a),c=null!=h?h(c,i.value||"",a):c,u.setProperty(b,a,c))}function Bc(t,i,r,a){if(ou()){const c=null===a?null:{"":-1},u=function C_(t,i){const r=t.directiveRegistry;let a=null,c=null;if(r)for(let u=0;u 0;){const r=t[--i];if("number"==typeof r&&r<0)return r}return 0})(h)!=_&&h.push(_),h.push(r,a,u)}}(t,i,a,Ll(t,r,c.hostVars,mn),c)}function Gf(t,i,r,a,c,u,h){if(null==u)t.removeAttribute(i,c,r);else{const _=null==h?Yt(u):h(u,a||"",c);t.setAttribute(i,c,_,r)}}function Wf(t,i,r,a,c,u){const h=u[i];if(null!==h)for(let _=0;_ t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}(_,h),function sy(t){t.lView[is]!==t&&(t.lView=null,o_.push(t))}(_)),zo()}}function Ju(t,i){for(let r=l_(t);null!==r;r=c_(r))for(let a=ri;a -1&&(Sc(i,a),_c(r,a))}this._attachedToViewContainer=!1}Tu(this._lView[lt],this._lView)}onDestroy(i){da(this._lView,i)}markForCheck(){zl(this._cdRefInjectingView||this._lView)}detach(){this._lView[jt]&=-129}reattach(){fl(this._lView),this._lView[jt]|=128}detectChanges(){this._lView[jt]|=1024,function qf(t,i=!0){const r=t[ts],a=r.rendererFactory;a.begin?.();try{!function Vc(t){d0(t,0);let i=0;for(;su(t);){if(100===i)throw new Ye(103,!1);i++,d0(t,1)}}(t)}catch(u){throw i&&Ku(t,u),u}finally{a.end?.(),r.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Zp(this._lView[lt],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Ye(902,!1);this._appRef=i,fl(this._lView)}}let p0=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=M_}return t})();function M_(t){return function Dy(t,i,r){if(qs(t)&&!r){const a=sr(t.index,i);return new Vl(a,a)}return 47&t.type?new Vl(i[An],i):null}(y(),ut(),16==(16&t))}let f0=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=t1;static#t=this.__NG_ENV_ID__=r=>r}return t})();class Ty extends f0{constructor(i){super(),this._lView=i}onDestroy(i){return da(this._lView,i),()=>function gl(t,i){if(null===t[zs])return;const r=t[zs].indexOf(i);-1!==r&&t[zs].splice(r,1)}(this._lView,i)}}function t1(){return new Ty(ut())}const D_=new Set;function nl(t){D_.has(t)||(D_.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Hl(t){return i=>{setTimeout(t,void 0,i)}}const To=class g0 extends ke.x{constructor(i=!1){super(),this.__isAsync=i}emit(i){super.next(i)}subscribe(i,r,a){let c=i,u=r||(()=>null),h=a;if(i&&"object"==typeof i){const b=i;c=b.next?.bind(b),u=b.error?.bind(b),h=b.complete?.bind(b)}this.__isAsync&&(u=Hl(u),c&&(c=Hl(c)),h&&(h=Hl(h)));const _=super.subscribe({next:c,error:u,complete:h});return i instanceof Ke.w0&&i.add(_),_}};function m0(...t){}class zi{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new To(!1),this.onMicrotaskEmpty=new To(!1),this.onStable=new To(!1),this.onError=new To(!1),typeof Zone>"u")throw new Ye(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!a&&r,c.shouldCoalesceRunChangeDetection=a,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function n1(){const t="function"==typeof Dn.requestAnimationFrame;let i=Dn[t?"requestAnimationFrame":"setTimeout"],r=Dn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&i&&r){const a=i[Zone.__symbol__("OriginalDelegate")];a&&(i=a);const c=r[Zone.__symbol__("OriginalDelegate")];c&&(r=c)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function T_(t){const i=()=>{!function E_(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Dn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,_0(t),t.isCheckStableRunning=!0,Xu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),_0(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,a,c,u,h,_)=>{if(function P_(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(_))return r.invokeTask(c,u,h,_);try{return O_(t),r.invokeTask(c,u,h,_)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||t.shouldCoalesceRunChangeDetection)&&i(),v0(t)}},onInvoke:(r,a,c,u,h,_,b)=>{try{return O_(t),r.invoke(c,u,h,_,b)}finally{t.shouldCoalesceRunChangeDetection&&i(),v0(t)}},onHasTask:(r,a,c,u)=>{r.hasTask(c,u),a===c&&("microTask"==u.change?(t._hasPendingMicrotasks=u.microTask,_0(t),Xu(t)):"macroTask"==u.change&&(t.hasPendingMacrotasks=u.macroTask))},onHandleError:(r,a,c,u)=>(r.handleError(c,u),t.runOutsideAngular(()=>t.onError.emit(u)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zi.isInAngularZone())throw new Ye(909,!1)}static assertNotInAngularZone(){if(zi.isInAngularZone())throw new Ye(909,!1)}run(i,r,a){return this._inner.run(i,r,a)}runTask(i,r,a,c){const u=this._inner,h=u.scheduleEventTask("NgZoneEvent: "+c,i,r1,m0,m0);try{return u.runTask(h,r,a)}finally{u.cancelTask(h)}}runGuarded(i,r,a){return this._inner.runGuarded(i,r,a)}runOutsideAngular(i){return this._outer.run(i)}}const r1={};function Xu(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function _0(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function O_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function v0(t){t._nesting--,Xu(t)}var Ul=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ul||{});const y0={destroy(){}};function ed(t,i){!i&&function oh(t){if(!vi()&&!function Kr(){return _r}())throw new Ye(-203,!1)}();const r=i?.injector??vn($s);if(!function ma(t){return"browser"===(t??vn($s)).get(ch)}(r))return y0;nl("NgAfterNextRender");const a=r.get(jl),c=a.handler??=new b0,u=i?.phase??Ul.MixedReadWrite,h=()=>{c.unregister(b),_()},_=r.get(f0).onDestroy(h),b=new $l(r,u,()=>{h(),t()});return c.register(b),{destroy:h}}class $l{constructor(i,r,a){this.phase=r,this.callbackFn=a,this.zone=i.get(zi),this.errorHandler=i.get(Sa,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(i){this.errorHandler?.handleError(i)}}}class b0{constructor(){this.executingCallbacks=!1,this.buckets={[Ul.EarlyRead]:new Set,[Ul.Write]:new Set,[Ul.MixedReadWrite]:new Set,[Ul.Read]:new Set},this.deferredCallbacks=new Set}register(i){(this.executingCallbacks?this.deferredCallbacks:this.buckets[i.phase]).add(i)}unregister(i){this.buckets[i.phase].delete(i),this.deferredCallbacks.delete(i)}execute(){let i=!1;this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const a of r)i=!0,a.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);return this.deferredCallbacks.clear(),i}destroy(){for(const i of Object.values(this.buckets))i.clear();this.deferredCallbacks.clear()}}let jl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const c of r)c();return!!this.handler?.execute()||r.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=xn({token:t,providedIn:"root",factory:()=>new t})}return t})();function a1(t,i){const r=sr(i,t),a=r[lt];!function x_(t,i){for(let r=i.length;r 0&&Za(t,r,u.join(" "))}}(Ne,Gn,tt,a),void 0!==r&&function R_(t,i,r){const a=t.projection=[];for(let c=0;c =0;a--){const c=t[a];c.hostVars=i+=c.hostVars,c.hostAttrs=Xr(c.hostAttrs,r=Xr(r,c.hostAttrs))}}(a)}function L_(t,i){for(const r in i.inputs){if(!i.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;const a=i.inputs[r];if(void 0!==a&&(t.inputs[r]=a,t.declaredInputs[r]=i.declaredInputs[r],null!==i.inputTransforms)){const c=Array.isArray(a)?a[0]:a;if(!i.inputTransforms.hasOwnProperty(c))continue;t.inputTransforms??={},t.inputTransforms[c]=i.inputTransforms[c]}}}function nd(t){return t===ji?{}:t===yn?[]:t}function z_(t,i){const r=t.viewQuery;t.viewQuery=r?(a,c)=>{i(a,c),r(a,c)}:i}function V_(t,i){const r=t.contentQueries;t.contentQueries=r?(a,c,u)=>{i(a,c,u),r(a,c,u)}:i}function H_(t,i){const r=t.hostBindings;t.hostBindings=r?(a,c)=>{i(a,c),r(a,c)}:i}function rd(t){const i=t.inputConfig,r={};for(const a in i)if(i.hasOwnProperty(a)){const c=i[a];Array.isArray(c)&&c[3]&&(r[a]=c[3])}t.inputTransforms=r}let ld=()=>null;function Br(t,i){return ld(t,i)}function Kc(t,i,r,a){const c=i.tView,_=Rc(t,c,r,4096&t[jt]?4096:16,null,i,null,null,null,a?.injector??null,a?.dehydratedView??null);_[ir]=t[i.index];const k=t[Ei];return null!==k&&(_[Ei]=k.createEmbeddedView(c)),td(c,_,r),_}function cd(t,i){const r=ri+i;if(r 0&&(r[c-1][ci]=i),a {class t{static#e=this.__NG_ELEMENT_ID__=X_}return t})();function X_(){return t2(y(),ut())}const e2=Yl,x0=class extends e2{constructor(i,r,a){super(),this._lContainer=i,this._hostTNode=r,this._hostLView=a}get element(){return Xa(this._hostTNode,this._hostLView)}get injector(){return new Ki(this._hostTNode,this._hostLView)}get parentInjector(){const i=uc(this._hostTNode,this._hostLView);if(lc(i)){const r=to(i,this._hostLView),a=Cs(i);return new Ki(r[lt].data[a+8],r)}return new Ki(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const r=T1(this._lContainer);return null!==r&&r[i]||null}get length(){return this._lContainer.length-ri}createEmbeddedView(i,r,a){let c,u;"number"==typeof a?c=a:null!=a&&(c=a.index,u=a.injector);const h=Br(this._lContainer,i.ssrId),_=i.createEmbeddedViewImpl(r||{},u,h);return this.insertImpl(_,c,ol(this._hostTNode,h)),_}createComponent(i,r,a,c,u){const h=i&&!function wi(t){return"function"==typeof t}(i);let _;if(h)_=r;else{const tt=r||{};_=tt.index,a=tt.injector,c=tt.projectableNodes,u=tt.environmentInjector||tt.ngModuleRef}const b=h?i:new Gl(gn(i)),k=a||this.parentInjector;if(!u&&null==b.ngModule){const wt=(h?k:this.parentInjector).get(Eo,null);wt&&(u=wt)}const Z=gn(b.componentType??{}),ae=Br(this._lContainer,Z?.id??null),ze=b.create(k,c,ae?.firstChild??null,u);return this.insertImpl(ze.hostView,_,ol(this._hostTNode,ae)),ze}insert(i,r){return this.insertImpl(i,r,!0)}insertImpl(i,r,a){const c=i._lView;if(function ca(t){return Ci(t[Nn])}(c)){const _=this.indexOf(i);if(-1!==_)this.detach(_);else{const b=c[Nn],k=new x0(b,b[ki],b[Nn]);k.detach(k.indexOf(i))}}const u=this._adjustIndex(r),h=this._lContainer;return al(h,c,u,a),i.attachToViewContainerRef(),Wd(O1(h),u,i),i}move(i,r){return this.insert(i,r)}indexOf(i){const r=T1(this._lContainer);return null!==r?r.indexOf(i):-1}remove(i){const r=this._adjustIndex(i,-1),a=Sc(this._lContainer,r);a&&(_c(O1(this._lContainer),r),Tu(a[lt],a))}detach(i){const r=this._adjustIndex(i,-1),a=Sc(this._lContainer,r);return a&&null!=_c(O1(this._lContainer),r)?new Vl(a):null}_adjustIndex(i,r=0){return i??this.length+r}};function T1(t){return t[8]}function O1(t){return t[8]||(t[8]=[])}function t2(t,i){let r;const a=i[t.index];return Ci(a)?r=a:(r=zc(a,i,null,t),i[t.index]=r,Ko(i,r)),n2(r,i,t,a),new x0(r,t,i)}let n2=function s2(t,i,r,a){if(t[ur])return;let c;c=8&r.type?Hn(a):function Hy(t,i){const r=t[ln],a=r.createComment(""),c=Ti(i,t);return El(r,Ou(r,c),a,function Fm(t,i){return t.nextSibling(i)}(r,c),!1),a}(i,r),t[ur]=c},A1=()=>!1;function lo(t,i,r){return t[i]=r}function Ji(t,i,r){return!Object.is(t[i],r)&&(t[i]=r,!0)}function ll(t,i,r,a){const c=Ji(t,i,r);return Ji(t,i+1,a)||c}function Wr(t,i,r,a,c,u,h,_){const b=ut(),k=Tn(),Z=t+on,ae=k.firstCreatePass?function a2(t,i,r,a,c,u,h,_,b){const k=i.consts,Z=Da(i,t,4,h||null,Pi(k,_));Bc(i,r,Z,Pi(k,b)),eo(i,Z);const ae=Z.tView=Lf(2,Z,a,c,u,i.directiveRegistry,i.pipeRegistry,null,i.schemas,k,null);return null!==i.queries&&(i.queries.template(i,Z),ae.queries=i.queries.embeddedTView(Z)),Z}(Z,k,b,i,r,a,c,u,h):k.data[Z];O(ae,!1);const Ne=P1(k,b,ae,t);Va()&&Au(k,b,Ne,ae),wr(Ne,b);const ze=zc(Ne,b,Ne,ae);return b[Z]=ze,Ko(b,ze),function r2(t,i,r){return A1(t,i,r)}(ze,ae,b),sa(ae)&&Zu(k,b,ae),null!=h&&kc(b,ae,_),Wr}let P1=function N0(t,i,r,a){return Do(!0),i[ln].createComment("")};function f2(t,i,r,a){const c=ut();return Ji(c,I(),i)&&(Tn(),function Zo(t,i,r,a,c,u){const h=Ti(t,i);Gf(i[ln],h,u,t.value,r,a,c)}($t(),c,t,i,r,a)),f2}function vd(t,i,r,a){return Ji(t,I(),r)?i+Yt(r)+a:mn}function H1(t,i){return t<<17|i<<2}function Xl(t){return t>>17&32767}function g2(t){return 2|t}function Jc(t){return(131068&t)>>2}function m2(t,i){return-131069&t|i<<2}function _2(t){return 1|t}function aC(t,i,r,a){const c=t[r+1],u=null===i;let h=a?Xl(c):Jc(c),_=!1;for(;0!==h&&(!1===_||u);){const k=t[h+1];rM(t[h],i)&&(_=!0,t[h+1]=a?_2(k):g2(k)),h=a?Xl(k):Jc(k)}_&&(t[r+1]=a?g2(c):_2(c))}function rM(t,i){return null===t||null==i||(Array.isArray(t)?t[1]:t)===i||!(!Array.isArray(t)||"string"!=typeof i)&&bl(t,i)>=0}const Er={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lC(t){return t.substring(Er.key,Er.keyEnd)}function cC(t,i){const r=Er.textEnd;return r===i?-1:(i=Er.keyEnd=function lM(t,i,r){for(;i 32;)i++;return i}(t,Er.key=i,r),Ed(t,i,r))}function Ed(t,i,r){for(;i =0;r=cC(i,r))Ms(t,lC(i),!0)}function Qo(t,i,r,a){const c=ut(),u=Tn(),h=W(2);u.firstUpdatePass&&mC(u,t,h,a),i!==mn&&Ji(c,h,i)&&vC(u,u.data[Vt()],c,c[ln],t,c[h+1]=function yM(t,i){return null==t||""===t||("string"==typeof i?t+=i:"object"==typeof t&&(t=On(Go(t)))),t}(i,r),a,h)}function Jo(t,i,r,a){const c=Tn(),u=W(2);c.firstUpdatePass&&mC(c,null,u,a);const h=ut();if(r!==mn&&Ji(h,u,r)){const _=c.data[Vt()];if(CC(_,a)&&!gC(c,u)){let b=a?_.classesWithoutHost:_.stylesWithoutHost;null!==b&&(r=Yn(b,r||"")),y2(c,_,h,r,a)}else!function vM(t,i,r,a,c,u,h,_){c===mn&&(c=yn);let b=0,k=0,Z=0 =t.expandoStartIndex}function mC(t,i,r,a){const c=t.data;if(null===c[r+1]){const u=c[Vt()],h=gC(t,r);CC(u,a)&&null===i&&!h&&(i=!1),i=function hM(t,i,r,a){const c=Xt(t);let u=a?i.residualClasses:i.residualStyles;if(null===c)0===(a?i.classBindings:i.styleBindings)&&(r=z0(r=M2(null,t,i,r,a),i.attrs,a),u=null);else{const h=i.directiveStylingLast;if(-1===h||t[h]!==c)if(r=M2(c,t,i,r,a),null===u){let b=function pM(t,i,r){const a=r?i.classBindings:i.styleBindings;if(0!==Jc(a))return t[Xl(a)]}(t,i,a);void 0!==b&&Array.isArray(b)&&(b=M2(null,t,i,b[1],a),b=z0(b,i.attrs,a),function fM(t,i,r,a){t[Xl(r?i.classBindings:i.styleBindings)]=a}(t,i,a,b))}else u=function gM(t,i,r){let a;const c=i.directiveEnd;for(let u=1+i.directiveStylingLast;u 0)&&(k=!0)):Z=r,c)if(0!==b){const Ne=Xl(t[_+1]);t[a+1]=H1(Ne,_),0!==Ne&&(t[Ne+1]=m2(t[Ne+1],a)),t[_+1]=function eM(t,i){return 131071&t|i<<17}(t[_+1],a)}else t[a+1]=H1(_,0),0!==_&&(t[_+1]=m2(t[_+1],a)),_=a;else t[a+1]=H1(b,0),0===_?_=a:t[b+1]=m2(t[b+1],a),b=a;k&&(t[a+1]=g2(t[a+1])),aC(t,Z,a,!0),aC(t,Z,a,!1),function iM(t,i,r,a,c){const u=c?t.residualClasses:t.residualStyles;null!=u&&"string"==typeof i&&bl(u,i)>=0&&(r[a+1]=_2(r[a+1]))}(i,Z,t,a,u),h=H1(_,b),u?i.classBindings=h:i.styleBindings=h}(c,u,i,r,h,a)}}function M2(t,i,r,a,c){let u=null;const h=r.directiveEnd;let _=r.directiveStylingLast;for(-1===_?_=r.directiveStart:_++;_ 0;){const b=t[c],k=Array.isArray(b),Z=k?b[1]:b,ae=null===Z;let Ne=r[c+1];Ne===mn&&(Ne=ae?yn:void 0);let ze=ae?Kd(Ne,a):Z===a?Ne:void 0;if(k&&!U1(ze)&&(ze=Kd(b,a)),U1(ze)&&(_=ze,h))return _;const tt=t[c+1];c=h?Xl(tt):Jc(tt)}if(null!==i){let b=u?i.residualClasses:i.residualStyles;null!=b&&(_=Kd(b,a))}return _}function U1(t){return void 0!==t}function CC(t,i){return 0!=(t.flags&(i?8:16))}function bC(t,i,r){Jo(Ms,Pa,vd(ut(),t,i,r),!0)}function MC(){return ut()[An][jn]}class OM{destroy(i){}updateValue(i,r){}swap(i,r){const a=Math.min(i,r),c=Math.max(i,r),u=this.detach(c);if(c-a>1){const h=this.detach(a);this.attach(a,u),this.attach(c,h)}else this.attach(a,u)}move(i,r){this.attach(r,this.detach(i))}}function w2(t,i,r,a,c){return t===r&&Object.is(i,a)?1:Object.is(c(t,i),c(r,a))?-1:0}function S2(t,i,r,a){return!(void 0===i||!i.has(a)||(t.attach(r,i.get(a)),i.delete(a),0))}function wC(t,i,r,a,c){if(S2(t,i,a,r(a,c)))t.updateValue(a,c);else{const u=t.create(a,c);t.attach(a,u)}}function SC(t,i,r,a){const c=new Set;for(let u=i;u<=r;u++)c.add(a(u,t.at(u)));return c}class DC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;const r=this.kvMap.get(i);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(i,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,r){if(this.kvMap.has(i)){let a=this.kvMap.get(i);void 0===this._vMap&&(this._vMap=new Map);const c=this._vMap;for(;c.has(a);)a=c.get(a);c.set(a,r)}else this.kvMap.set(i,r)}forEach(i){for(let[r,a]of this.kvMap)if(i(a,r),void 0!==this._vMap){const c=this._vMap;for(;c.has(a);)a=c.get(a),i(a,r)}}}function EC(t,i,r){nl("NgControlFlow");const a=ut(),c=I(),u=D2(a,on+t);if(Ji(a,c,i)){const _=P(null);try{if(ud(u,0),-1!==i){const b=E2(a[lt],on+i),k=Br(u,b.tView.ssrId);al(u,Kc(a,b,r,{dehydratedView:k}),0,ol(b,k))}}finally{P(_)}}else{const _=cd(u,0);void 0!==_&&(_[jn]=r)}}class PM{constructor(i,r,a){this.lContainer=i,this.$implicit=r,this.$index=a}get $count(){return this.lContainer.length-ri}}function TC(t,i){return i}class NM{constructor(i,r,a){this.hasEmptyBlock=i,this.trackByFn=r,this.liveCollection=a}}function OC(t,i,r,a,c,u,h,_,b,k,Z,ae,Ne){nl("NgControlFlow");const ze=void 0!==b,tt=ut(),wt=_?h.bind(tt[An][jn]):h,Ft=new NM(ze,wt);tt[on+t]=Ft,Wr(t+1,i,r,a,c,u),ze&&Wr(t+2,b,k,Z,ae,Ne)}class IM extends OM{constructor(i,r,a){super(),this.lContainer=i,this.hostLView=r,this.templateTNode=a,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ri}at(i){return this.getLView(i)[jn].$implicit}attach(i,r){const a=r[Mr];this.needsIndexUpdate||=i!==this.length,al(this.lContainer,r,i,ol(this.templateTNode,a))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,function FM(t,i){return Sc(t,i)}(this.lContainer,i)}create(i,r){const a=Br(this.lContainer,this.templateTNode.tView.ssrId);return Kc(this.hostLView,this.templateTNode,new PM(this.lContainer,r,i),{dehydratedView:a})}destroy(i){Tu(i[lt],i)}updateValue(i,r){this.getLView(i)[jn].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i {t.destroy(_)})}(h,t,u.trackByFn),h.updateIndexes(),u.hasEmptyBlock){const _=I(),b=0===h.length;if(Ji(a,_,b)){const k=r+2,Z=D2(a,k);if(b){const ae=E2(c,k),Ne=Br(Z,ae.tView.ssrId);al(Z,Kc(a,ae,void 0,{dehydratedView:Ne}),0,ol(ae,Ne))}else ud(Z,0)}}}finally{P(i)}}function D2(t,i){return t[i]}function E2(t,i){return wo(t,i)}function $1(t,i,r,a){const c=ut(),u=Tn(),h=on+t,_=c[ln],b=u.firstCreatePass?function kM(t,i,r,a,c,u){const h=i.consts,b=Da(i,t,2,a,Pi(h,c));return Bc(i,r,b,Pi(h,u)),null!==b.attrs&&Uc(b,b.attrs,!1),null!==b.mergedAttrs&&Uc(b,b.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,b),b}(h,u,c,i,r,a):u.data[h],k=PC(u,c,b,_,i,t);c[h]=k;const Z=sa(b);return O(b,!0),Ah(_,k,b),32!=(32&b.flags)&&Va()&&Au(u,c,k,b),0===function Id(){return Qe.lFrame.elementDepthCount}()&&wr(k,c),function Fd(){Qe.lFrame.elementDepthCount++}(),Z&&(Zu(u,c,b),oo(u,b,c)),null!==a&&kc(c,b),$1}function j1(){let t=y();Y()?ce():(t=t.parent,O(t,!1));const i=t;(function q0(t){return Qe.skipHydrationRootTNode===t})(i)&&function ml(){Qe.skipHydrationRootTNode=null}(),function Rd(){Qe.lFrame.elementDepthCount--}();const r=Tn();return r.firstCreatePass&&(eo(r,t),Fo(t)&&r.queries.elementEnd(t)),null!=i.classesWithoutHost&&function yg(t){return 0!=(8&t.flags)}(i)&&y2(r,i,ut(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function Cg(t){return 0!=(16&t.flags)}(i)&&y2(r,i,ut(),i.stylesWithoutHost,!1),j1}function T2(t,i,r,a){return $1(t,i,r,a),j1(),T2}let PC=(t,i,r,a,c,u)=>(Do(!0),Eu(a,c,function Rr(){return Qe.lFrame.currentNamespace}()));function G1(t,i,r){const a=ut(),c=Tn(),u=t+on,h=c.firstCreatePass?function zM(t,i,r,a,c){const u=i.consts,h=Pi(u,a),_=Da(i,t,8,"ng-container",h);return null!==h&&Uc(_,h,!0),Bc(i,r,_,Pi(u,c)),null!==i.queries&&i.queries.elementStart(i,_),_}(u,c,a,i,r):c.data[u];O(h,!0);const _=xC(c,a,h,t);return a[u]=_,Va()&&Au(c,a,_,h),wr(_,a),sa(h)&&(Zu(c,a,h),oo(c,h,a)),null!=r&&kc(a,h),G1}function W1(){let t=y();const i=Tn();return Y()?ce():(t=t.parent,O(t,!1)),i.firstCreatePass&&(eo(i,t),Fo(t)&&i.queries.elementEnd(t)),W1}function O2(t,i,r){return G1(t,i,r),W1(),O2}let xC=(t,i,r,a)=>(Do(!0),Mh(i[ln],""));function NC(){return ut()}function A2(t,i,r){const a=ut();return Ji(a,I(),i)&&Os(Tn(),$t(),a,t,i,a[ln],r,!0),A2}function P2(t,i,r){const a=ut();if(Ji(a,I(),i)){const u=Tn(),h=$t();Os(u,h,a,t,i,Qf(Xt(u.data),h,a),r,!0)}return P2}const qc=void 0;var $M=["en",[["a","p"],["AM","PM"],qc],[["AM","PM"],qc,qc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],qc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],qc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",qc,"{1} 'at' {0}",qc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function UM(t){const r=Math.floor(Math.abs(t)),a=t.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===a?1:5}];let Td={};function x2(t){const i=function jM(t){return t.toLowerCase().replace(/_/g,"-")}(t);let r=FC(i);if(r)return r;const a=i.split("-")[0];if(r=FC(a),r)return r;if("en"===a)return $M;throw new Ye(701,!1)}function IC(t){return x2(t)[Od.PluralCase]}function FC(t){return t in Td||(Td[t]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[t]),Td[t]}var Od=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Od||{});const GM=["zero","one","two","few","many"],Ad="en-US",Y1={marker:"element"},Z1={marker:"ICU"};var Ws=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(Ws||{});let RC=Ad;function kC(t){(function ei(t,i){null==t&&Qt(i,t,null,"!=")})(t,"Expected localeId to be defined"),"string"==typeof t&&(RC=t.toLowerCase().replace(/_/g,"-"))}function LC(t,i,r){const a=i.insertBeforeIndex,c=Array.isArray(a)?a[0]:a;return null===c?qp(t,0,r):Hn(r[c])}function BC(t,i,r,a,c){const u=i.insertBeforeIndex;if(Array.isArray(u)){let h=a,_=null;if(3&i.type||(_=h,h=c),null!==h&&-1===i.componentOffset)for(let b=1;b 1)for(let r=t.length-2;r>=0;r--){const a=t[r];VC(a)||KM(a,i)&&null===QM(a)&&JM(a,i.index)}}function VC(t){return!(64&t.type)}function KM(t,i){return VC(i)||t.index>i.index}function QM(t){const i=t.insertBeforeIndex;return Array.isArray(i)?i[0]:i}function JM(t,i){const r=t.insertBeforeIndex;Array.isArray(r)?r[0]=i:(ef(LC,BC),t.insertBeforeIndex=i)}function V0(t,i){const r=t.data[i];return null===r||"string"==typeof r?null:r.hasOwnProperty("currentCaseLViewIndex")?r:r.value}function e4(t,i,r){const a=kl(t,r,64,null,null);return zC(i,a),a}function K1(t,i){const r=i[t.currentCaseLViewIndex];return null===r?r:r<0?~r:r}function HC(t){return t>>>17}function UC(t){return(131070&t)>>>1}let H0=0,U0=0;function jC(t,i,r,a){const c=r[ln];let h,u=null;for(let _=0;_ >>1,r),null,null,ze,tt,null)}else switch(b){case Z1:const k=i[++_],Z=i[++_];null===r[Z]&&wr(r[Z]=Mh(c,k),r);break;case Y1:const ae=i[++_],Ne=i[++_];null===r[Ne]&&wr(r[Ne]=Eu(c,ae,null),r)}}}function GC(t,i,r,a,c){for(let u=0;u >>2;switch(3&Z){case 1:const Ne=r[++k],ze=r[++k],tt=t.data[ae];"string"==typeof tt?Gf(i[ln],i[ae],null,tt,Ne,b,ze):Os(t,tt,i,Ne,b,i[ln],ze,!1);break;case 0:const wt=i[ae];null!==wt&&Yp(i[ln],wt,b);break;case 2:s4(t,V0(t,ae),i,b);break;case 3:WC(t,V0(t,ae),a,i)}}}}else{const b=r[u+1];if(b>0&&3==(3&b)){const Z=V0(t,b>>>2);i[Z.currentCaseLViewIndex]<0&&WC(t,Z,a,i)}}u+=_}}function WC(t,i,r,a){let c=a[i.currentCaseLViewIndex];if(null!==c){let u=H0;c<0&&(c=a[i.currentCaseLViewIndex]=~c,u=-1),GC(t,a,i.update[c],r,u)}}function s4(t,i,r,a){const c=function o4(t,i){let r=t.cases.indexOf(i);if(-1===r)switch(t.type){case 1:{const a=function WM(t,i){const r=IC(i)(parseInt(t,10)),a=GM[r];return void 0!==a?a:"other"}(i,function ZM(){return RC}());r=t.cases.indexOf(a),-1===r&&"other"!==a&&(r=t.cases.indexOf("other"));break}case 0:r=t.cases.indexOf("other")}return-1===r?null:r}(i,a);if(K1(i,r)!==c&&(YC(t,i,r),r[i.currentCaseLViewIndex]=null===c?null:~c,null!==c)){const h=r[i.anchorIdx];h&&jC(t,i.create[c],r,h)}}function YC(t,i,r){let a=K1(i,r);if(null!==a){const c=i.remove[a];for(let u=0;u 0){const _=La(h,r);null!==_&&Pu(r[ln],_)}else YC(t,V0(t,~h),r)}}}function a4(){const t=[];let r,a,i=-1;function u(_,b){i=0;const k=K1(_,b);a=null!==k?_.remove[k]:yn}function h(){if(i 0?r[_]:(t.push(i,a),u(r[lt].data[~_],r),h())}return 0===t.length?null:(a=t.pop(),i=t.pop(),h())}return function c(_,b){for(r=b;t.length;)t.pop();return u(_.value,b),h}}const Q1=/\ufffd(\d+):?\d*\ufffd/gi,c4=/\ufffd(\d+)\ufffd/,KC=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,$0="\ufffd",u4=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,d4=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,h4=/\uE500/g;function QC(t,i,r,a,c,u,h){const _=Ll(t,a,1,null);let b=_< r.length&&r.push(b)}return{type:a,mainBinding:c,cases:i,values:r}}function N2(t){if(!t)return[];let i=0;const r=[],a=[],c=/[{}]/g;let u;for(c.lastIndex=0;u=c.exec(t);){const _=u.index;if("}"==u[0]){if(r.pop(),0==r.length){const b=t.substring(i,_);KC.test(b)?a.push(C4(b)):a.push(b),i=_+1}}else{if(0==r.length){const b=t.substring(i,_);a.push(b),i=_+1}r.push("{")}}const h=t.substring(i);return a.push(h),a}function b4(t,i,r,a,c,u,h,_){const b=[],k=[],Z=[];i.cases.push(u),i.create.push(b),i.remove.push(k),i.update.push(Z);const Ne=Tc(Wa()).getInertBodyElement(h),ze=Lh(Ne)||Ne;return ze?eb(t,i,r,a,b,k,Z,ze,c,_,0):0}function eb(t,i,r,a,c,u,h,_,b,k,Z){let ae=0,Ne=_.firstChild;for(;Ne;){const ze=Ll(t,r,1,null);switch(Ne.nodeType){case Node.ELEMENT_NODE:const tt=Ne,wt=tt.tagName.toLowerCase();if(ya.hasOwnProperty(wt)){I2(c,Y1,wt,b,ze),t.data[ze]=wt;const Cn=tt.attributes;for(let Vn=0;Vn >>Ws.SHIFT;let ae=t[Z];null===ae&&(ae=t[Z]=(h&Ws.COMMENT)===Ws.COMMENT?c.createComment(_):Du(c,_)),k&&null!==r&&El(c,r,ae,a,!1)}})(c,b.create,Z,_&&8&_.type?c[_.index]:null),Ge(!0)}function R2(){Ge(!1)}function ib(t,i,r){F2(t,i,r),R2()}function k2(t){return function n4(t){t&&(H0|=1< 0){const a=t.data[r];GC(t,i,Array.isArray(a)?a:a.update,v()-U0-1,H0)}H0=0,U0=0}(Tn(),ut(),t+on)}function sb(t,i={}){return function I4(t,i={}){let r=t;if(E4.test(t)){const a={},c=[nb];r=r.replace(T4,(u,h,_)=>{const b=h||_,k=a[b]||[];if(k.length||(b.split("|").forEach(wt=>{const Ft=wt.match(N4),Kt=Ft?parseInt(Ft[1],10):nb,vt=x4.test(wt);k.push([Kt,vt,wt])}),a[b]=k),!k.length)throw new Error(`i18n postprocess: unmatched placeholder - ${b}`);const Z=c[c.length-1];let ae=0;for(let wt=0;wt i.hasOwnProperty(u)?`${c}${i[u]}${b}`:a),r=r.replace(A4,(a,c)=>i.hasOwnProperty(c)?i[c]:a),r=r.replace(P4,(a,c)=>{if(i.hasOwnProperty(c)){const u=i[c];if(!u.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${c}`);return u.shift()}return a})),r}(t,i)}function L2(t){return!!t&&"function"==typeof t.then}function ob(t){return!!t&&"function"==typeof t.subscribe}function B2(t,i,r,a){const c=ut(),u=Tn(),h=y();return function lb(t,i,r,a,c,u,h){const _=sa(a),k=t.firstCreatePass&&Kf(t),Z=i[jn],ae=Zf(i);let Ne=!0;if(3&a.type||h){const wt=Ti(a,i),Ft=h?h(wt):wt,Kt=ae.length,vt=h?Vn=>h(Hn(Vn[a.index])):a.index;let Cn=null;if(!h&&_&&(Cn=function R4(t,i,r,a){const c=t.cleanup;if(null!=c)for(let u=0;u b?_[b]:null}"string"==typeof h&&(u+=2)}return null}(t,i,c,a.index)),null!==Cn)(Cn.__ngLastListenerFn__||Cn).__ngNextListenerFn__=u,Cn.__ngLastListenerFn__=u,Ne=!1;else{u=ub(a,i,Z,u,!1);const Vn=r.listen(Ft,c,u);ae.push(u,Vn),k&&k.push(c,vt,Kt,Kt+1)}}else u=ub(a,i,Z,u,!1);const ze=a.outputs;let tt;if(Ne&&null!==ze&&(tt=ze[c])){const wt=tt.length;if(wt)for(let Ft=0;Ft -1?sr(t.index,i):i);let b=cb(i,r,a,h),k=u.__ngNextListenerFn__;for(;k;)b=cb(i,r,k,h)&&b,k=k.__ngNextListenerFn__;return c&&!1===b&&h.preventDefault(),b}}function db(t=1){return function Ld(t){return(Qe.lFrame.contextLView=function ru(t,i){for(;t>0;)i=i[ns],t--;return i}(t,Qe.lFrame.contextLView))[jn]}(t)}function k4(t,i){let r=null;const a=function Po(t){const i=t.attrs;if(null!=i){const r=i.indexOf(5);if(!(1&r))return i[r+1]}return null}(t);for(let c=0;c {class t{static#e=this.__NG_ELEMENT_ID__=V4}return t})();const B4=G0,z4=class extends B4{constructor(i,r,a){super(),this._declarationLView=i,this._declarationTContainer=r,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,r){return this.createEmbeddedViewImpl(i,r)}createEmbeddedViewImpl(i,r,a){const c=Kc(this._declarationLView,this._declarationTContainer,i,{injector:r,dehydratedView:a});return new Vl(c)}};function V4(){return q1(y(),ut())}function q1(t,i){return 4&t.type?new z4(i,t,Xa(t,i)):null}class H2{constructor(i){this.queryList=i,this.matches=null}clone(){return new H2(this.queryList)}setDirty(){this.queryList.setDirty()}}class U2{constructor(i=[]){this.queries=i}createEmbeddedView(i){const r=i.queries;if(null!==r){const a=null!==i.contentQueries?i.contentQueries[0]:r.length,c=[];for(let u=0;u0)a.push(h[_/2]);else{const k=u[_+1],Z=i[-b];for(let ae=ri;ae (Do(!0),Du(i[ln],a));function W2(t){return X1("",t,""),W2}function X1(t,i,r){const a=ut(),c=vd(a,t,i,r);return c!==mn&&Ea(a,Vt(),c),X1}function Y2(t,i,r,a,c){const u=ut(),h=function yd(t,i,r,a,c,u){const _=ll(t,v(),r,c);return W(2),_?i+Yt(r)+a+Yt(c)+u:mn}(u,t,i,r,a,c);return h!==mn&&Ea(u,Vt(),h),Y2}function Z2(t,i,r,a,c){if(t=xt(t),Array.isArray(t))for(let u=0;u >20;if(Ga(t)||!t.multi){const ze=new ac(k,c,tl),tt=Q2(b,i,c?Z:Z+Ne,ae);-1===tt?(tp(Ha(_,h),u,b),K2(u,t,i.length),i.push(b),_.directiveStart++,_.directiveEnd++,c&&(_.providerIndexes+=1048576),r.push(ze),h.push(ze)):(r[tt]=ze,h[tt]=ze)}else{const ze=Q2(b,i,Z+Ne,ae),tt=Q2(b,i,Z,Z+Ne),Ft=tt>=0&&r[tt];if(c&&!Ft||!c&&!(ze>=0&&r[ze])){tp(Ha(_,h),u,b);const Kt=function lw(t,i,r,a,c){const u=new ac(t,r,tl);return u.multi=[],u.index=i,u.componentProviders=0,Qb(u,c,a&&!r),u}(c?aw:ow,r.length,c,a,k);!c&&Ft&&(r[tt].providerFactory=Kt),K2(u,t,i.length,0),i.push(b),_.directiveStart++,_.directiveEnd++,c&&(_.providerIndexes+=1048576),r.push(Kt),h.push(Kt)}else K2(u,t,ze>-1?ze:tt,Qb(r[c?tt:ze],k,!c&&a));!c&&a&&Ft&&r[tt].componentProviders++}}}function K2(t,i,r,a){const c=Ga(i),u=function Vg(t){return!!t.useClass}(i);if(c||u){const b=(u?xt(i.useClass):i).prototype.ngOnDestroy;if(b){const k=t.destroyHooks||(t.destroyHooks=[]);if(!c&&i.multi){const Z=k.indexOf(r);-1===Z?k.push(r,[a,b]):k[Z+1].push(a,b)}else k.push(r,b)}}}function Qb(t,i,r){return r&&t.componentProviders++,t.multi.push(i)-1}function Q2(t,i,r,a){for(let c=r;c{r.providersResolver=(a,c)=>function sw(t,i,r){const a=Tn();if(a.firstCreatePass){const c=xr(t);Z2(r,a.data,a.blueprint,c,!0),Z2(i,a.data,a.blueprint,c,!1)}}(a,c?c(t):t,i)}}class Xc{}class qb{}function cw(t,i){return new q2(t,i??null,[])}class q2 extends Xc{constructor(i,r,a){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new M0(this);const c=Di(i);this._bootstrapComponents=ws(c.bootstrap),this._r3Injector=Sp(i,r,[{provide:Xc,useValue:this},{provide:Fc,useValue:this.componentFactoryResolver},...a],On(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class X2 extends qb{constructor(i){super(),this.moduleType=i}create(i){return new q2(this.moduleType,i,[])}}class Xb extends Xc{constructor(i){super(),this.componentFactoryResolver=new M0(this),this.instance=null;const r=new wl([...i.providers,{provide:Xc,useValue:this},{provide:Fc,useValue:this.componentFactoryResolver}],i.parent||Cu(),i.debugName,new Set(["environment"]));this.injector=r,i.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function e3(t,i,r=null){return new Xb({providers:t,parent:i,debugName:r,runEnvironmentInitializers:!0}).injector}let dw=(()=>{class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const a=gp(0,r.type),c=a.length>0?e3([a],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,c)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=xn({token:t,providedIn:"environment",factory:()=>new t(fi(Eo))})}return t})();function t3(t){nl("NgStandalone"),t.getStandaloneInjector=i=>i.get(dw).getOrCreateStandaloneInjector(t)}function u3(t,i,r){const a=M()+t,c=ut();return c[a]===mn?lo(c,a,r?i.call(r):i()):function Zl(t,i){return t[i]}(c,a)}function d3(t,i,r,a){return p3(ut(),M(),t,i,r,a)}function h3(t,i,r,a,c,u){return function g3(t,i,r,a,c,u,h,_){const b=i+r;return function cl(t,i,r,a,c){const u=ll(t,i,r,a);return Ji(t,i+2,c)||u}(t,b,c,u,h)?lo(t,b+3,_?a.call(_,c,u,h):a(c,u,h)):W0(t,b+3)}(ut(),M(),t,i,r,a,c,u)}function W0(t,i){const r=t[i];return r===mn?void 0:r}function p3(t,i,r,a,c,u){const h=i+r;return Ji(t,h,c)?lo(t,h+1,u?a.call(u,c):a(c)):W0(t,h+1)}function v3(t,i){const r=Tn();let a;const c=t+on;r.firstCreatePass?(a=function Aw(t,i){if(i)for(let r=i.length-1;r>=0;r--){const a=i[r];if(t===a.name)return a}}(i,r.pipeRegistry),r.data[c]=a,a.onDestroy&&(r.destroyHooks??=[]).push(c,a.onDestroy)):a=r.data[c];const u=a.factory||(a.factory=ui(a.type)),_=wn(tl);try{const b=pa(!1),k=u();return pa(b),function Y4(t,i,r,a){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),i[r]=a}(r,ut(),c,k),k}finally{wn(_)}}function y3(t,i,r){const a=t+on,c=ut(),u=So(c,a);return Y0(c,a)?p3(c,M(),i,u.transform,r,u):u.transform(r)}function C3(t,i,r,a){const c=t+on,u=ut(),h=So(u,c);return Y0(u,c)?function f3(t,i,r,a,c,u,h){const _=i+r;return ll(t,_,c,u)?lo(t,_+2,h?a.call(h,c,u):a(c,u)):W0(t,_+2)}(u,M(),i,h.transform,r,a,h):h.transform(r,a)}function Y0(t,i){return t[lt].data[i].pure}function b3(t,i){return q1(t,i)}class L3{constructor(i){this.full=i;const r=i.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}}let B3=(()=>{class t{log(r){console.log(r)}warn(r){console.warn(r)}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();class eS{constructor(i,r){this.ngModuleFactory=i,this.componentFactories=r}}let tS=(()=>{class t{compileModuleSync(r){return new X2(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const a=this.compileModuleSync(r),u=ws(Di(r).declarations).reduce((h,_)=>{const b=gn(_);return b&&h.push(new Gl(b)),h},[]);return new eS(a,u)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ig=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new it.X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const $3=new dn(""),j3=new dn("");let ov,OS=(()=>{class t{constructor(r,a,c){this._ngZone=r,this.registry=a,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ov||(function AS(t){ov=t}(c),c.addToWindow(a)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(r)||(clearTimeout(a.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,a,c){let u=-1;a&&a>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==u),r()},a)),this._callbacks.push({doneCb:r,timeoutId:u,updateCb:c})}whenStable(r,a,c){if(c&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,a,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,a,c){return[]}static#e=this.\u0275fac=function(a){return new(a||t)(fi(zi),fi(G3),fi(j3))};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac})}return t})(),G3=(()=>{class t{constructor(){this._applications=new Map}registerApplication(r,a){this._applications.set(r,a)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,a=!0){return ov?.findTestabilityInTree(this,r,a)??null}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const W3=new dn("Application Initializer");let av=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,a)=>{this.resolve=r,this.reject=a}),this.appInits=vn(W3,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const c of this.appInits){const u=c();if(L2(u))r.push(u);else if(ob(u)){const h=new Promise((_,b)=>{u.subscribe({complete:_,error:b})});r.push(h)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{a()}).catch(c=>{this.reject(c)}),0===r.length&&a(),this.initialized=!0}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const lv=new dn("appBootstrapListener");let eu=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=vn(xf),this.afterRenderEffectManager=vn(jl),this.componentTypes=[],this.components=[],this.isStable=vn(ig).hasPendingTasks.pipe((0,rt.U)(r=>!r)),this._injector=vn(Eo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,a){const c=r instanceof Cf;if(!this._injector.get(av).done)throw!c&&br(r),new Ye(405,!1);let h;h=c?r:this._injector.get(Fc).resolveComponentFactory(r),this.componentTypes.push(h.componentType);const _=function xS(t){return t.isBoundToModule}(h)?void 0:this._injector.get(Xc),k=h.create($s.NULL,[],a||h.selector,_),Z=k.location.nativeElement,ae=k.injector.get($3,null);return ae?.registerApplication(Z),k.onDestroy(()=>{this.detachView(k.hostView),sg(this.components,k),ae?.unregisterApplication(Z)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new Ye(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{try{this.afterRenderEffectManager.execute()}catch(r){this.internalErrorHandler(r)}this._runningTick=!1}}attachView(r){const a=r;this._views.push(a),a.attachToAppRef(this)}detachView(r){const a=r;sg(this._views,a),a.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const a=this._injector.get(lv,[]);[...this._bootstrapListeners,...a].forEach(c=>c(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>sg(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new Ye(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function sg(t,i){const r=t.indexOf(i);r>-1&&t.splice(r,1)}let IS=(()=>{class t{constructor(){this.zone=vn(zi),this.applicationRef=vn(eu)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function J3(t){return[{provide:zi,useFactory:t},{provide:ja,multi:!0,useFactory:()=>{const i=vn(IS,{optional:!0});return()=>i.initialize()}},{provide:ja,multi:!0,useFactory:()=>{const i=vn(kS);return()=>{i.initialize()}}},{provide:xf,useFactory:FS}]}function FS(){const t=vn(zi),i=vn(Sa);return r=>t.runOutsideAngular(()=>i.handleError(r))}function RS(t){return _u([[],J3(()=>new zi(function q3(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}(t)))])}let kS=(()=>{class t{constructor(){this.subscription=new Ke.w0,this.initialized=!1,this.zone=vn(zi),this.pendingTasks=vn(ig)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{zi.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{zi.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||t)};static#t=this.\u0275prov=xn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const ag=new dn("LocaleId",{providedIn:"root",factory:()=>vn(ag,Ut.Optional|Ut.SkipSelf)||function LS(){return typeof $localize<"u"&&$localize.locale||Ad}()}),BS=new dn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),cv=new dn("PlatformDestroyListeners");let ec=null;function $S(){}let ZS=(()=>{class t{constructor(r){}static#e=this.\u0275fac=function(a){return new(a||t)(fi(eu))};static#t=this.\u0275mod=_o({type:t});static#n=this.\u0275inj=Ae({})}return t})();function cD(t){try{const{rootComponent:i,appProviders:r,platformProviders:a}=t,c=function US(t=[]){if(ec)return ec;const i=function t6(t=[],i){return $s.create({name:i,providers:[{provide:nh,useValue:"platform"},{provide:cv,useValue:new Set([()=>ec=null])},...t]})}(t);return ec=i,function Y3(){!function dt(t){be=t}(()=>{throw new Ye(600,!1)})}(),function n6(t){t.get(Ep,null)?.forEach(r=>r())}(i),i}(a),u=[RS(),...r||[]],_=new Xb({providers:u,parent:c,debugName:"",runEnvironmentInitializers:!1}).injector,b=_.get(zi);return b.run(()=>{_.resolveInjectorInitializers();const k=_.get(Sa,null);let Z;b.runOutsideAngular(()=>{Z=b.onError.subscribe({next:ze=>{k.handleError(ze)}})});const ae=()=>_.destroy(),Ne=c.get(cv);return Ne.add(ae),_.onDestroy(()=>{Z.unsubscribe(),Ne.delete(ae)}),function Z3(t,i,r){try{const a=r();return L2(a)?a.catch(c=>{throw i.runOutsideAngular(()=>t.handleError(c)),c}):a}catch(a){throw i.runOutsideAngular(()=>t.handleError(a)),a}}(k,b,()=>{const ze=_.get(av);return ze.runInitializers(),ze.donePromise.then(()=>{kC(_.get(ag,Ad)||Ad);const wt=_.get(eu);return void 0!==i&&wt.bootstrap(i),wt})})})}catch(i){return Promise.reject(i)}}function MD(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function SD(t){const i=gn(t);if(!i)return null;const r=new Gl(i);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}},6223:(gt,Ce,m)=>{"use strict";m.d(Ce,{F:()=>Bn,Fj:()=>q,JJ:()=>Ye,JL:()=>Rt,JU:()=>N,NI:()=>vi,On:()=>uo,Q7:()=>Rs,UX:()=>Di,Wl:()=>X,_Y:()=>Ri,kI:()=>Re,qu:()=>cr,sg:()=>Kr,u:()=>Qr,u5:()=>br,wV:()=>ho});var e=m(9212),F=m(6814),H=m(9666),R=m(9315),Q=m(7398);let P=(()=>{class z{constructor(E,ee){this._renderer=E,this._elementRef=ee,this.onChange=Ie=>{},this.onTouched=()=>{}}setProperty(E,ee){this._renderer.setProperty(this._elementRef.nativeElement,E,ee)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}static#e=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:z})}return z})(),ie=(()=>{class z extends P{static#e=this.\u0275fac=(()=>{let E;return function(Ie){return(E||(E=e.n5z(z)))(Ie||z)}})();static#t=this.\u0275dir=e.lG2({type:z,features:[e.qOj]})}return z})();const N=new e.OlP("NgValueAccessor"),V={provide:N,useExisting:(0,e.Gpc)(()=>X),multi:!0};let X=(()=>{class z extends ie{writeValue(E){this.setProperty("checked",E)}static#e=this.\u0275fac=(()=>{let E;return function(Ie){return(E||(E=e.n5z(z)))(Ie||z)}})();static#t=this.\u0275dir=e.lG2({type:z,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ee,Ie){1&ee&&e.NdJ("change",function(lt){return Ie.onChange(lt.target.checked)})("blur",function(){return Ie.onTouched()})},features:[e._Bn([V]),e.qOj]})}return z})();const ne={provide:N,useExisting:(0,e.Gpc)(()=>q),multi:!0},re=new e.OlP("CompositionEventMode");let q=(()=>{class z extends P{constructor(E,ee,Ie){super(E,ee),this._compositionMode=Ie,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ve(){const z=(0,F.q)()?(0,F.q)().getUserAgent():"";return/android (\d+)/.test(z.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}static#e=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(re,8))};static#t=this.\u0275dir=e.lG2({type:z,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(ee,Ie){1&ee&&e.NdJ("input",function(lt){return Ie._handleInput(lt.target.value)})("blur",function(){return Ie.onTouched()})("compositionstart",function(){return Ie._compositionStart()})("compositionend",function(lt){return Ie._compositionEnd(lt.target.value)})},features:[e._Bn([ne]),e.qOj]})}return z})();function le(z){return null==z||("string"==typeof z||Array.isArray(z))&&0===z.length}function se(z){return null!=z&&"number"==typeof z.length}const J=new e.OlP("NgValidators"),oe=new e.OlP("NgAsyncValidators"),fe=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Re{static min(G){return function Pe(z){return G=>{if(le(G.value)||le(z))return null;const E=parseFloat(G.value);return!isNaN(E)&&E {if(le(G.value)||le(z))return null;const E=parseFloat(G.value);return!isNaN(E)&&E>z?{max:{max:z,actual:G.value}}:null}}(G)}static required(G){return ye(G)}static requiredTrue(G){return function De(z){return!0===z.value?null:{required:!0}}(G)}static email(G){return function Fe(z){return le(z.value)||fe.test(z.value)?null:{email:!0}}(G)}static minLength(G){return function Ve(z){return G=>le(G.value)||!se(G.value)?null:G.value.length se(G.value)&&G.value.length>z?{maxlength:{requiredLength:z,actualLength:G.value.length}}:null}(G)}static pattern(G){return function Ue(z){if(!z)return $e;let G,E;return"string"==typeof z?(E="","^"!==z.charAt(0)&&(E+="^"),E+=z,"$"!==z.charAt(z.length-1)&&(E+="$"),G=new RegExp(E)):(E=z.toString(),G=z),ee=>{if(le(ee.value))return null;const Ie=ee.value;return G.test(Ie)?null:{pattern:{requiredPattern:E,actualValue:Ie}}}}(G)}static nullValidator(G){return null}static compose(G){return me(G)}static composeAsync(G){return pe(G)}}function ye(z){return le(z.value)?{required:!0}:null}function $e(z){return null}function nt(z){return null!=z}function St(z){return(0,e.QGY)(z)?(0,H.D)(z):z}function be(z){let G={};return z.forEach(E=>{G=null!=E?{...G,...E}:G}),0===Object.keys(G).length?null:G}function At(z,G){return G.map(E=>E(z))}function kt(z){return z.map(G=>function dt(z){return!z.validate}(G)?G:E=>G.validate(E))}function me(z){if(!z)return null;const G=z.filter(nt);return 0==G.length?null:function(E){return be(At(E,G))}}function Be(z){return null!=z?me(kt(z)):null}function pe(z){if(!z)return null;const G=z.filter(nt);return 0==G.length?null:function(E){const ee=At(E,G).map(St);return(0,R.D)(ee).pipe((0,Q.U)(be))}}function Se(z){return null!=z?pe(kt(z)):null}function Ee(z,G){return null===z?[G]:Array.isArray(z)?[...z,G]:[z,G]}function Xe(z){return z._rawValidators}function Oe(z){return z._rawAsyncValidators}function ct(z){return z?Array.isArray(z)?z:[z]:[]}function We(z,G){return Array.isArray(z)?z.includes(G):z===G}function qe(z,G){const E=ct(G);return ct(z).forEach(Ie=>{We(E,Ie)||E.push(Ie)}),E}function de(z,G){return ct(G).filter(E=>!We(z,E))}class ke{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(G){this._rawValidators=G||[],this._composedValidatorFn=Be(this._rawValidators)}_setAsyncValidators(G){this._rawAsyncValidators=G||[],this._composedAsyncValidatorFn=Se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(G){this._onDestroyCallbacks.push(G)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(G=>G()),this._onDestroyCallbacks=[]}reset(G=void 0){this.control&&this.control.reset(G)}hasError(G,E){return!!this.control&&this.control.hasError(G,E)}getError(G,E){return this.control?this.control.getError(G,E):null}}class Ke extends ke{get formDirective(){return null}get path(){return null}}class it extends ke{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class rt{constructor(G){this._cd=G}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ye=(()=>{class z extends rt{constructor(E){super(E)}static#e=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(it,2))};static#t=this.\u0275dir=e.lG2({type:z,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ee,Ie){2&ee&&e.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)},features:[e.qOj]})}return z})(),Rt=(()=>{class z extends rt{constructor(E){super(E)}static#e=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(Ke,10))};static#t=this.\u0275dir=e.lG2({type:z,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ee,Ie){2&ee&&e.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)("ng-submitted",Ie.isSubmitted)},features:[e.qOj]})}return z})();const Xn="VALID",ai="INVALID",Zn="PENDING",hi="DISABLED";function pi(z){return(Yt(z)?z.validators:z)||null}function _i(z,G){return(Yt(G)?G.asyncValidators:z)||null}function Yt(z){return null!=z&&!Array.isArray(z)&&"object"==typeof z}function sn(z,G,E){const ee=z.controls;if(!(G?Object.keys(ee):ee).length)throw new e.vHH(1e3,"");if(!ee[E])throw new e.vHH(1001,"")}function Vr(z,G,E){z._forEachChild((ee,Ie)=>{if(void 0===E[Ie])throw new e.vHH(1002,"")})}class ft{constructor(G,E){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(G),this._assignAsyncValidators(E)}get validator(){return this._composedValidatorFn}set validator(G){this._rawValidators=this._composedValidatorFn=G}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(G){this._rawAsyncValidators=this._composedAsyncValidatorFn=G}get parent(){return this._parent}get valid(){return this.status===Xn}get invalid(){return this.status===ai}get pending(){return this.status==Zn}get disabled(){return this.status===hi}get enabled(){return this.status!==hi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(G){this._assignValidators(G)}setAsyncValidators(G){this._assignAsyncValidators(G)}addValidators(G){this.setValidators(qe(G,this._rawValidators))}addAsyncValidators(G){this.setAsyncValidators(qe(G,this._rawAsyncValidators))}removeValidators(G){this.setValidators(de(G,this._rawValidators))}removeAsyncValidators(G){this.setAsyncValidators(de(G,this._rawAsyncValidators))}hasValidator(G){return We(this._rawValidators,G)}hasAsyncValidator(G){return We(this._rawAsyncValidators,G)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(G={}){this.touched=!0,this._parent&&!G.onlySelf&&this._parent.markAsTouched(G)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(G=>G.markAllAsTouched())}markAsUntouched(G={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(E=>{E.markAsUntouched({onlySelf:!0})}),this._parent&&!G.onlySelf&&this._parent._updateTouched(G)}markAsDirty(G={}){this.pristine=!1,this._parent&&!G.onlySelf&&this._parent.markAsDirty(G)}markAsPristine(G={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(E=>{E.markAsPristine({onlySelf:!0})}),this._parent&&!G.onlySelf&&this._parent._updatePristine(G)}markAsPending(G={}){this.status=Zn,!1!==G.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!G.onlySelf&&this._parent.markAsPending(G)}disable(G={}){const E=this._parentMarkedDirty(G.onlySelf);this.status=hi,this.errors=null,this._forEachChild(ee=>{ee.disable({...G,onlySelf:!0})}),this._updateValue(),!1!==G.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...G,skipPristineCheck:E}),this._onDisabledChange.forEach(ee=>ee(!0))}enable(G={}){const E=this._parentMarkedDirty(G.onlySelf);this.status=Xn,this._forEachChild(ee=>{ee.enable({...G,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:G.emitEvent}),this._updateAncestors({...G,skipPristineCheck:E}),this._onDisabledChange.forEach(ee=>ee(!1))}_updateAncestors(G){this._parent&&!G.onlySelf&&(this._parent.updateValueAndValidity(G),G.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(G){this._parent=G}getRawValue(){return this.value}updateValueAndValidity(G={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Xn||this.status===Zn)&&this._runAsyncValidator(G.emitEvent)),!1!==G.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!G.onlySelf&&this._parent.updateValueAndValidity(G)}_updateTreeValidity(G={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(G)),this.updateValueAndValidity({onlySelf:!0,emitEvent:G.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hi:Xn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(G){if(this.asyncValidator){this.status=Zn,this._hasOwnPendingAsyncValidator=!0;const E=St(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe(ee=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ee,{emitEvent:G})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(G,E={}){this.errors=G,this._updateControlsErrors(!1!==E.emitEvent)}get(G){let E=G;return null==E||(Array.isArray(E)||(E=E.split(".")),0===E.length)?null:E.reduce((ee,Ie)=>ee&&ee._find(Ie),this)}getError(G,E){const ee=E?this.get(E):this;return ee&&ee.errors?ee.errors[G]:null}hasError(G,E){return!!this.getError(G,E)}get root(){let G=this;for(;G._parent;)G=G._parent;return G}_updateControlsErrors(G){this.status=this._calculateStatus(),G&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(G)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?hi:this.errors?ai:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Zn)?Zn:this._anyControlsHaveStatus(ai)?ai:Xn}_anyControlsHaveStatus(G){return this._anyControls(E=>E.status===G)}_anyControlsDirty(){return this._anyControls(G=>G.dirty)}_anyControlsTouched(){return this._anyControls(G=>G.touched)}_updatePristine(G={}){this.pristine=!this._anyControlsDirty(),this._parent&&!G.onlySelf&&this._parent._updatePristine(G)}_updateTouched(G={}){this.touched=this._anyControlsTouched(),this._parent&&!G.onlySelf&&this._parent._updateTouched(G)}_registerOnCollectionChange(G){this._onCollectionChange=G}_setUpdateStrategy(G){Yt(G)&&null!=G.updateOn&&(this._updateOn=G.updateOn)}_parentMarkedDirty(G){return!G&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(G){return null}_assignValidators(G){this._rawValidators=Array.isArray(G)?G.slice():G,this._composedValidatorFn=function ni(z){return Array.isArray(z)?Be(z):z||null}(this._rawValidators)}_assignAsyncValidators(G){this._rawAsyncValidators=Array.isArray(G)?G.slice():G,this._composedAsyncValidatorFn=function Hi(z){return Array.isArray(z)?Se(z):z||null}(this._rawAsyncValidators)}}class U extends ft{constructor(G,E,ee){super(pi(E),_i(ee,E)),this.controls=G,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(G,E){return this.controls[G]?this.controls[G]:(this.controls[G]=E,E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange),E)}addControl(G,E,ee={}){this.registerControl(G,E),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}removeControl(G,E={}){this.controls[G]&&this.controls[G]._registerOnCollectionChange(()=>{}),delete this.controls[G],this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}setControl(G,E,ee={}){this.controls[G]&&this.controls[G]._registerOnCollectionChange(()=>{}),delete this.controls[G],E&&this.registerControl(G,E),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}contains(G){return this.controls.hasOwnProperty(G)&&this.controls[G].enabled}setValue(G,E={}){Vr(this,0,G),Object.keys(G).forEach(ee=>{sn(this,!0,ee),this.controls[ee].setValue(G[ee],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(G,E={}){null!=G&&(Object.keys(G).forEach(ee=>{const Ie=this.controls[ee];Ie&&Ie.patchValue(G[ee],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(G={},E={}){this._forEachChild((ee,Ie)=>{ee.reset(G?G[Ie]:null,{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this._reduceChildren({},(G,E,ee)=>(G[ee]=E.getRawValue(),G))}_syncPendingControls(){let G=this._reduceChildren(!1,(E,ee)=>!!ee._syncPendingControls()||E);return G&&this.updateValueAndValidity({onlySelf:!0}),G}_forEachChild(G){Object.keys(this.controls).forEach(E=>{const ee=this.controls[E];ee&&G(ee,E)})}_setUpControls(){this._forEachChild(G=>{G.setParent(this),G._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(G){for(const[E,ee]of Object.entries(this.controls))if(this.contains(E)&&G(ee))return!0;return!1}_reduceValue(){return this._reduceChildren({},(E,ee,Ie)=>((ee.enabled||this.disabled)&&(E[Ie]=ee.value),E))}_reduceChildren(G,E){let ee=G;return this._forEachChild((Ie,bt)=>{ee=E(ee,Ie,bt)}),ee}_allControlsDisabled(){for(const G of Object.keys(this.controls))if(this.controls[G].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(G){return this.controls.hasOwnProperty(G)?this.controls[G]:null}}class te extends U{}const Je=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>at}),at="always";function Mt(z,G){return[...G.path,z]}function Tt(z,G,E=at){$n(z,G),G.valueAccessor.writeValue(z.value),(z.disabled||"always"===E)&&G.valueAccessor.setDisabledState?.(z.disabled),function Si(z,G){G.valueAccessor.registerOnChange(E=>{z._pendingValue=E,z._pendingChange=!0,z._pendingDirty=!0,"change"===z.updateOn&&ei(z,G)})}(z,G),function Qt(z,G){const E=(ee,Ie)=>{G.valueAccessor.writeValue(ee),Ie&&G.viewToModelUpdate(ee)};z.registerOnChange(E),G._registerOnDestroy(()=>{z._unregisterOnChange(E)})}(z,G),function Ui(z,G){G.valueAccessor.registerOnTouched(()=>{z._pendingTouched=!0,"blur"===z.updateOn&&z._pendingChange&&ei(z,G),"submit"!==z.updateOn&&z.markAsTouched()})}(z,G),function un(z,G){if(G.valueAccessor.setDisabledState){const E=ee=>{G.valueAccessor.setDisabledState(ee)};z.registerOnDisabledChange(E),G._registerOnDestroy(()=>{z._unregisterOnDisabledChange(E)})}}(z,G)}function zt(z,G,E=!0){const ee=()=>{};G.valueAccessor&&(G.valueAccessor.registerOnChange(ee),G.valueAccessor.registerOnTouched(ee)),Jn(z,G),z&&(G._invokeOnDestroyCallbacks(),z._registerOnCollectionChange(()=>{}))}function Ht(z,G){z.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(G)})}function $n(z,G){const E=Xe(z);null!==G.validator?z.setValidators(Ee(E,G.validator)):"function"==typeof E&&z.setValidators([E]);const ee=Oe(z);null!==G.asyncValidator?z.setAsyncValidators(Ee(ee,G.asyncValidator)):"function"==typeof ee&&z.setAsyncValidators([ee]);const Ie=()=>z.updateValueAndValidity();Ht(G._rawValidators,Ie),Ht(G._rawAsyncValidators,Ie)}function Jn(z,G){let E=!1;if(null!==z){if(null!==G.validator){const Ie=Xe(z);if(Array.isArray(Ie)&&Ie.length>0){const bt=Ie.filter(lt=>lt!==G.validator);bt.length!==Ie.length&&(E=!0,z.setValidators(bt))}}if(null!==G.asyncValidator){const Ie=Oe(z);if(Array.isArray(Ie)&&Ie.length>0){const bt=Ie.filter(lt=>lt!==G.asyncValidator);bt.length!==Ie.length&&(E=!0,z.setAsyncValidators(bt))}}}const ee=()=>{};return Ht(G._rawValidators,ee),Ht(G._rawAsyncValidators,ee),E}function ei(z,G){z._pendingDirty&&z.markAsDirty(),z.setValue(z._pendingValue,{emitModelToViewChange:!1}),G.viewToModelUpdate(z._pendingValue),z._pendingChange=!1}function ps(z,G){$n(z,G)}function xe(z,G){if(!z.hasOwnProperty("model"))return!1;const E=z.model;return!!E.isFirstChange()||!Object.is(G,E.currentValue)}function mt(z,G){z._syncPendingControls(),G.forEach(E=>{const ee=E.control;"submit"===ee.updateOn&&ee._pendingChange&&(E.viewToModelUpdate(ee._pendingValue),ee._pendingChange=!1)})}function Ot(z,G){if(!G)return null;let E,ee,Ie;return Array.isArray(G),G.forEach(bt=>{bt.constructor===q?E=bt:function ot(z){return Object.getPrototypeOf(z.constructor)===ie}(bt)?ee=bt:Ie=bt}),Ie||ee||E||null}const Et={provide:Ke,useExisting:(0,e.Gpc)(()=>Bn)},hn=Promise.resolve();let Bn=(()=>{class z extends Ke{constructor(E,ee,Ie){super(),this.callSetDisabledState=Ie,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new U({},Be(E),Se(ee))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(E){hn.then(()=>{const ee=this._findContainer(E.path);E.control=ee.registerControl(E.name,E.control),Tt(E.control,E,this.callSetDisabledState),E.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(E)})}getControl(E){return this.form.get(E.path)}removeControl(E){hn.then(()=>{const ee=this._findContainer(E.path);ee&&ee.removeControl(E.name),this._directives.delete(E)})}addFormGroup(E){hn.then(()=>{const ee=this._findContainer(E.path),Ie=new U({});ps(Ie,E),ee.registerControl(E.name,Ie),Ie.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(E){hn.then(()=>{const ee=this._findContainer(E.path);ee&&ee.removeControl(E.name)})}getFormGroup(E){return this.form.get(E.path)}updateModel(E,ee){hn.then(()=>{this.form.get(E.path).setValue(ee)})}setValue(E){this.control.setValue(E)}onSubmit(E){return this.submitted=!0,mt(this.form,this._directives),this.ngSubmit.emit(E),"dialog"===E?.target?.method}onReset(){this.resetForm()}resetForm(E=void 0){this.form.reset(E),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(E){return E.pop(),E.length?this.form.get(E):this.form}static#e=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(J,10),e.Y36(oe,10),e.Y36(Je,8))};static#t=this.\u0275dir=e.lG2({type:z,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ee,Ie){1&ee&&e.NdJ("submit",function(lt){return Ie.onSubmit(lt)})("reset",function(){return Ie.onReset()})},inputs:{options:[e.lbL.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Et]),e.qOj]})}return z})();function Ut(z,G){const E=z.indexOf(G);E>-1&&z.splice(E,1)}function Mn(z){return"object"==typeof z&&null!==z&&2===Object.keys(z).length&&"value"in z&&"disabled"in z}const vi=class extends ft{constructor(G=null,E,ee){super(pi(E),_i(ee,E)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(G),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Yt(E)&&(E.nonNullable||E.initialValueIsDefault)&&(this.defaultValue=Mn(G)?G.value:G)}setValue(G,E={}){this.value=this._pendingValue=G,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(ee=>ee(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(G,E={}){this.setValue(G,E)}reset(G=this.defaultValue,E={}){this._applyFormState(G),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(G){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(G){this._onChange.push(G)}_unregisterOnChange(G){Ut(this._onChange,G)}registerOnDisabledChange(G){this._onDisabledChange.push(G)}_unregisterOnDisabledChange(G){Ut(this._onDisabledChange,G)}_forEachChild(G){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(G){Mn(G)?(this.value=this._pendingValue=G.value,G.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=G}},Yr={provide:it,useExisting:(0,e.Gpc)(()=>uo)},Or=Promise.resolve();let uo=(()=>{class z extends it{constructor(E,ee,Ie,bt,lt,jt){super(),this._changeDetectorRef=lt,this.callSetDisabledState=jt,this.control=new vi,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=E,this._setValidators(ee),this._setAsyncValidators(Ie),this.valueAccessor=Ot(0,bt)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const ee=E.name.previousValue;this.formDirective.removeControl({name:ee,path:this._getPath(ee)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),xe(E,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Tt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(E){Or.then(()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(E){const ee=E.isDisabled.currentValue,Ie=0!==ee&&(0,e.VuI)(ee);Or.then(()=>{Ie&&!this.control.disabled?this.control.disable():!Ie&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(E){return this._parent?Mt(E,this._parent):[E]}static#e=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(Ke,9),e.Y36(J,10),e.Y36(oe,10),e.Y36(N,10),e.Y36(e.sBO,8),e.Y36(Je,8))};static#t=this.\u0275dir=e.lG2({type:z,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[e.lbL.None,"disabled","isDisabled"],model:[e.lbL.None,"ngModel","model"],options:[e.lbL.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([Yr]),e.qOj,e.TTD]})}return z})(),Ri=(()=>{class z{static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275dir=e.lG2({type:z,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return z})();const xa={provide:N,useExisting:(0,e.Gpc)(()=>ho),multi:!0};let ho=(()=>{class z extends ie{writeValue(E){this.setProperty("value",E??"")}registerOnChange(E){this.onChange=ee=>{E(""==ee?null:parseFloat(ee))}}static#e=this.\u0275fac=(()=>{let E;return function(Ie){return(E||(E=e.n5z(z)))(Ie||z)}})();static#t=this.\u0275dir=e.lG2({type:z,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ee,Ie){1&ee&&e.NdJ("input",function(lt){return Ie.onChange(lt.target.value)})("blur",function(){return Ie.onTouched()})},features:[e._Bn([xa]),e.qOj]})}return z})(),ea=(()=>{class z{static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275mod=e.oAB({type:z});static#n=this.\u0275inj=e.cJS({})}return z})();const er=new e.OlP("NgModelWithFormControlWarning"),_r={provide:Ke,useExisting:(0,e.Gpc)(()=>Kr)};let Kr=(()=>{class z extends Ke{constructor(E,ee,Ie){super(),this.callSetDisabledState=Ie,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(E),this._setAsyncValidators(ee)}ngOnChanges(E){this._checkFormPresent(),E.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Jn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(E){const ee=this.form.get(E.path);return Tt(ee,E,this.callSetDisabledState),ee.updateValueAndValidity({emitEvent:!1}),this.directives.push(E),ee}getControl(E){return this.form.get(E.path)}removeControl(E){zt(E.control||null,E,!1),function Pt(z,G){const E=z.indexOf(G);E>-1&&z.splice(E,1)}(this.directives,E)}addFormGroup(E){this._setUpFormContainer(E)}removeFormGroup(E){this._cleanUpFormContainer(E)}getFormGroup(E){return this.form.get(E.path)}addFormArray(E){this._setUpFormContainer(E)}removeFormArray(E){this._cleanUpFormContainer(E)}getFormArray(E){return this.form.get(E.path)}updateModel(E,ee){this.form.get(E.path).setValue(ee)}onSubmit(E){return this.submitted=!0,mt(this.form,this.directives),this.ngSubmit.emit(E),"dialog"===E?.target?.method}onReset(){this.resetForm()}resetForm(E=void 0){this.form.reset(E),this.submitted=!1}_updateDomValue(){this.directives.forEach(E=>{const ee=E.control,Ie=this.form.get(E.path);ee!==Ie&&(zt(ee||null,E),(z=>z instanceof vi)(Ie)&&(Tt(Ie,E,this.callSetDisabledState),E.control=Ie))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(E){const ee=this.form.get(E.path);ps(ee,E),ee.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(E){if(this.form){const ee=this.form.get(E.path);ee&&function Fi(z,G){return Jn(z,G)}(ee,E)&&ee.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){$n(this.form,this),this._oldForm&&Jn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(J,10),e.Y36(oe,10),e.Y36(Je,8))};static#t=this.\u0275dir=e.lG2({type:z,selectors:[["","formGroup",""]],hostBindings:function(ee,Ie){1&ee&&e.NdJ("submit",function(lt){return Ie.onSubmit(lt)})("reset",function(){return Ie.onReset()})},inputs:{form:[e.lbL.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([_r]),e.qOj,e.TTD]})}return z})();const $i={provide:it,useExisting:(0,e.Gpc)(()=>Qr)};let Qr=(()=>{class z extends it{set isDisabled(E){}static#e=this._ngModelWarningSentOnce=!1;constructor(E,ee,Ie,bt,lt){super(),this._ngModelWarningConfig=lt,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=E,this._setValidators(ee),this._setAsyncValidators(Ie),this.valueAccessor=Ot(0,bt)}ngOnChanges(E){this._added||this._setUpControl(),xe(E,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}get path(){return Mt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(ee){return new(ee||z)(e.Y36(Ke,13),e.Y36(J,10),e.Y36(oe,10),e.Y36(N,10),e.Y36(er,8))};static#n=this.\u0275dir=e.lG2({type:z,selectors:[["","formControlName",""]],inputs:{name:[e.lbL.None,"formControlName","name"],isDisabled:[e.lbL.None,"disabled","isDisabled"],model:[e.lbL.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([$i]),e.qOj,e.TTD]})}return z})(),Cr=(()=>{class z{constructor(){this._validator=$e}ngOnChanges(E){if(this.inputName in E){const ee=this.normalizeInput(E[this.inputName].currentValue);this._enabled=this.enabled(ee),this._validator=this._enabled?this.createValidator(ee):$e,this._onChange&&this._onChange()}}validate(E){return this._validator(E)}registerOnValidatorChange(E){this._onChange=E}enabled(E){return null!=E}static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275dir=e.lG2({type:z,features:[e.TTD]})}return z})();const go={provide:J,useExisting:(0,e.Gpc)(()=>Rs),multi:!0};let Rs=(()=>{class z extends Cr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=E=>ye}enabled(E){return E}static#e=this.\u0275fac=(()=>{let E;return function(Ie){return(E||(E=e.n5z(z)))(Ie||z)}})();static#t=this.\u0275dir=e.lG2({type:z,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ee,Ie){2&ee&&e.uIk("required",Ie._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([go]),e.qOj]})}return z})(),ms=(()=>{class z{static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275mod=e.oAB({type:z});static#n=this.\u0275inj=e.cJS({imports:[ea]})}return z})();class Qs extends ft{constructor(G,E,ee){super(pi(E),_i(ee,E)),this.controls=G,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(G){return this.controls[this._adjustIndex(G)]}push(G,E={}){this.controls.push(G),this._registerControl(G),this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}insert(G,E,ee={}){this.controls.splice(G,0,E),this._registerControl(E),this.updateValueAndValidity({emitEvent:ee.emitEvent})}removeAt(G,E={}){let ee=this._adjustIndex(G);ee<0&&(ee=0),this.controls[ee]&&this.controls[ee]._registerOnCollectionChange(()=>{}),this.controls.splice(ee,1),this.updateValueAndValidity({emitEvent:E.emitEvent})}setControl(G,E,ee={}){let Ie=this._adjustIndex(G);Ie<0&&(Ie=0),this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),this.controls.splice(Ie,1),E&&(this.controls.splice(Ie,0,E),this._registerControl(E)),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(G,E={}){Vr(this,0,G),G.forEach((ee,Ie)=>{sn(this,!1,Ie),this.at(Ie).setValue(ee,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(G,E={}){null!=G&&(G.forEach((ee,Ie)=>{this.at(Ie)&&this.at(Ie).patchValue(ee,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(G=[],E={}){this._forEachChild((ee,Ie)=>{ee.reset(G[Ie],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this.controls.map(G=>G.getRawValue())}clear(G={}){this.controls.length<1||(this._forEachChild(E=>E._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:G.emitEvent}))}_adjustIndex(G){return G<0?G+this.length:G}_syncPendingControls(){let G=this.controls.reduce((E,ee)=>!!ee._syncPendingControls()||E,!1);return G&&this.updateValueAndValidity({onlySelf:!0}),G}_forEachChild(G){this.controls.forEach((E,ee)=>{G(E,ee)})}_updateValue(){this.value=this.controls.filter(G=>G.enabled||this.disabled).map(G=>G.value)}_anyControls(G){return this.controls.some(E=>E.enabled&&G(E))}_setUpControls(){this._forEachChild(G=>this._registerControl(G))}_allControlsDisabled(){for(const G of this.controls)if(G.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(G){G.setParent(this),G._registerOnCollectionChange(this._onCollectionChange)}_find(G){return this.at(G)??null}}function pn(z){return!!z&&(void 0!==z.asyncValidators||void 0!==z.validators||void 0!==z.updateOn)}let cr=(()=>{class z{constructor(){this.useNonNullable=!1}get nonNullable(){const E=new z;return E.useNonNullable=!0,E}group(E,ee=null){const Ie=this._reduceControls(E);let bt={};return pn(ee)?bt=ee:null!==ee&&(bt.validators=ee.validator,bt.asyncValidators=ee.asyncValidator),new U(Ie,bt)}record(E,ee=null){const Ie=this._reduceControls(E);return new te(Ie,ee)}control(E,ee,Ie){let bt={};return this.useNonNullable?(pn(ee)?bt=ee:(bt.validators=ee,bt.asyncValidators=Ie),new vi(E,{...bt,nonNullable:!0})):new vi(E,ee,Ie)}array(E,ee,Ie){const bt=E.map(lt=>this._createControl(lt));return new Qs(bt,ee,Ie)}_reduceControls(E){const ee={};return Object.keys(E).forEach(Ie=>{ee[Ie]=this._createControl(E[Ie])}),ee}_createControl(E){return E instanceof vi||E instanceof ft?E:Array.isArray(E)?this.control(E[0],E.length>1?E[1]:null,E.length>2?E[2]:null):this.control(E)}static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),br=(()=>{class z{static withConfig(E){return{ngModule:z,providers:[{provide:Je,useValue:E.callSetDisabledState??at}]}}static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275mod=e.oAB({type:z});static#n=this.\u0275inj=e.cJS({imports:[ms]})}return z})(),Di=(()=>{class z{static withConfig(E){return{ngModule:z,providers:[{provide:er,useValue:E.warnOnNgModelWithFormControl??"always"},{provide:Je,useValue:E.callSetDisabledState??at}]}}static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275mod=e.oAB({type:z});static#n=this.\u0275inj=e.cJS({imports:[ms]})}return z})()},6593:(gt,Ce,m)=>{"use strict";m.d(Ce,{Cg:()=>pe,Dx:()=>Wt,H7:()=>Xn,b2:()=>rt,se:()=>Fe});var e=m(9212),F=m(6814);class H extends F.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends H{static makeCurrent(){(0,F.HT)(new R)}onAndCancel(A,D,B){return A.addEventListener(D,B),()=>{A.removeEventListener(D,B)}}dispatchEvent(A,D){A.dispatchEvent(D)}remove(A){A.parentNode&&A.parentNode.removeChild(A)}createElement(A,D){return(D=D||this.getDefaultDocument()).createElement(A)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(A){return A.nodeType===Node.ELEMENT_NODE}isShadowRoot(A){return A instanceof DocumentFragment}getGlobalEventTarget(A,D){return"window"===D?window:"document"===D?A:"body"===D?A.body:null}getBaseHref(A){const D=function P(){return Q=Q||document.querySelector("base"),Q?Q.getAttribute("href"):null}();return null==D?null:function ie(U){return new URL(U,document.baseURI).pathname}(D)}resetBaseElement(){Q=null}getUserAgent(){return window.navigator.userAgent}getCookie(A){return(0,F.Mx)(document.cookie,A)}}let Q=null,V=(()=>{class U{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(B){return new(B||U)};static#t=this.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac})}return U})();const X=new e.OlP("EventManagerPlugins");let ne=(()=>{class U{constructor(D,B){this._zone=B,this._eventNameToPlugin=new Map,D.forEach(te=>{te.manager=this}),this._plugins=D.slice().reverse()}addEventListener(D,B,te){return this._findPluginFor(B).addEventListener(D,B,te)}getZone(){return this._zone}_findPluginFor(D){let B=this._eventNameToPlugin.get(D);if(B)return B;if(B=this._plugins.find(_e=>_e.supports(D)),!B)throw new e.vHH(5101,!1);return this._eventNameToPlugin.set(D,B),B}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(X),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac})}return U})();class ve{constructor(A){this._doc=A}}const re="ng-app-id";let q=(()=>{class U{constructor(D,B,te,_e={}){this.doc=D,this.appId=B,this.nonce=te,this.platformId=_e,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,F.PM)(_e),this.resetHostNodes()}addStyles(D){for(const B of D)1===this.changeUsageCount(B,1)&&this.onStyleAdded(B)}removeStyles(D){for(const B of D)this.changeUsageCount(B,-1)<=0&&this.onStyleRemoved(B)}ngOnDestroy(){const D=this.styleNodesInDOM;D&&(D.forEach(B=>B.remove()),D.clear());for(const B of this.getAllStyles())this.onStyleRemoved(B);this.resetHostNodes()}addHost(D){this.hostNodes.add(D);for(const B of this.getAllStyles())this.addStyleToHost(D,B)}removeHost(D){this.hostNodes.delete(D)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(D){for(const B of this.hostNodes)this.addStyleToHost(B,D)}onStyleRemoved(D){const B=this.styleRef;B.get(D)?.elements?.forEach(te=>te.remove()),B.delete(D)}collectServerRenderedStyles(){const D=this.doc.head?.querySelectorAll(`style[${re}="${this.appId}"]`);if(D?.length){const B=new Map;return D.forEach(te=>{null!=te.textContent&&B.set(te.textContent,te)}),B}return null}changeUsageCount(D,B){const te=this.styleRef;if(te.has(D)){const _e=te.get(D);return _e.usage+=B,_e.usage}return te.set(D,{usage:B,elements:[]}),B}getStyleElement(D,B){const te=this.styleNodesInDOM,_e=te?.get(B);if(_e?.parentNode===D)return te.delete(B),_e.removeAttribute(re),_e;{const Je=this.doc.createElement("style");return this.nonce&&Je.setAttribute("nonce",this.nonce),Je.textContent=B,this.platformIsServer&&Je.setAttribute(re,this.appId),D.appendChild(Je),Je}}addStyleToHost(D,B){const te=this.getStyleElement(D,B),_e=this.styleRef,Je=_e.get(B)?.elements;Je?Je.push(te):_e.set(B,{elements:[te],usage:1})}resetHostNodes(){const D=this.hostNodes;D.clear(),D.add(this.doc.head)}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(F.K0),e.LFG(e.AFp),e.LFG(e.Ojb,8),e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac})}return U})();const le={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},se=/%COMP%/g,J="%COMP%",oe=`_nghost-${J}`,fe=`_ngcontent-${J}`,Pe=new e.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function De(U,A){return A.map(D=>D.replace(se,U))}let Fe=(()=>{class U{constructor(D,B,te,_e,Je,at,Mt,Tt=null){this.eventManager=D,this.sharedStylesHost=B,this.appId=te,this.removeStylesOnCompDestroy=_e,this.doc=Je,this.platformId=at,this.ngZone=Mt,this.nonce=Tt,this.rendererByCompId=new Map,this.platformIsServer=(0,F.PM)(at),this.defaultRenderer=new Ve(D,Je,Mt,this.platformIsServer)}createRenderer(D,B){if(!D||!B)return this.defaultRenderer;this.platformIsServer&&B.encapsulation===e.ifc.ShadowDom&&(B={...B,encapsulation:e.ifc.Emulated});const te=this.getOrCreateRenderer(D,B);return te instanceof be?te.applyToHost(D):te instanceof St&&te.applyStyles(),te}getOrCreateRenderer(D,B){const te=this.rendererByCompId;let _e=te.get(B.id);if(!_e){const Je=this.doc,at=this.ngZone,Mt=this.eventManager,Tt=this.sharedStylesHost,zt=this.removeStylesOnCompDestroy,Ht=this.platformIsServer;switch(B.encapsulation){case e.ifc.Emulated:_e=new be(Mt,Tt,B,this.appId,zt,Je,at,Ht);break;case e.ifc.ShadowDom:return new nt(Mt,Tt,D,B,Je,at,this.nonce,Ht);default:_e=new St(Mt,Tt,B,zt,Je,at,Ht)}te.set(B.id,_e)}return _e}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(ne),e.LFG(q),e.LFG(e.AFp),e.LFG(Pe),e.LFG(F.K0),e.LFG(e.Lbi),e.LFG(e.R0b),e.LFG(e.Ojb))};static#t=this.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac})}return U})();class Ve{constructor(A,D,B,te){this.eventManager=A,this.doc=D,this.ngZone=B,this.platformIsServer=te,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(A,D){return D?this.doc.createElementNS(le[D]||D,A):this.doc.createElement(A)}createComment(A){return this.doc.createComment(A)}createText(A){return this.doc.createTextNode(A)}appendChild(A,D){($e(A)?A.content:A).appendChild(D)}insertBefore(A,D,B){A&&($e(A)?A.content:A).insertBefore(D,B)}removeChild(A,D){A&&A.removeChild(D)}selectRootElement(A,D){let B="string"==typeof A?this.doc.querySelector(A):A;if(!B)throw new e.vHH(-5104,!1);return D||(B.textContent=""),B}parentNode(A){return A.parentNode}nextSibling(A){return A.nextSibling}setAttribute(A,D,B,te){if(te){D=te+":"+D;const _e=le[te];_e?A.setAttributeNS(_e,D,B):A.setAttribute(D,B)}else A.setAttribute(D,B)}removeAttribute(A,D,B){if(B){const te=le[B];te?A.removeAttributeNS(te,D):A.removeAttribute(`${B}:${D}`)}else A.removeAttribute(D)}addClass(A,D){A.classList.add(D)}removeClass(A,D){A.classList.remove(D)}setStyle(A,D,B,te){te&(e.JOm.DashCase|e.JOm.Important)?A.style.setProperty(D,B,te&e.JOm.Important?"important":""):A.style[D]=B}removeStyle(A,D,B){B&e.JOm.DashCase?A.style.removeProperty(D):A.style[D]=""}setProperty(A,D,B){null!=A&&(A[D]=B)}setValue(A,D){A.nodeValue=D}listen(A,D,B){if("string"==typeof A&&!(A=(0,F.q)().getGlobalEventTarget(this.doc,A)))throw new Error(`Unsupported event target ${A} for event ${D}`);return this.eventManager.addEventListener(A,D,this.decoratePreventDefault(B))}decoratePreventDefault(A){return D=>{if("__ngUnwrap__"===D)return A;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>A(D)):A(D))&&D.preventDefault()}}}function $e(U){return"TEMPLATE"===U.tagName&&void 0!==U.content}class nt extends Ve{constructor(A,D,B,te,_e,Je,at,Mt){super(A,_e,Je,Mt),this.sharedStylesHost=D,this.hostEl=B,this.shadowRoot=B.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tt=De(te.id,te.styles);for(const zt of Tt){const Ht=document.createElement("style");at&&Ht.setAttribute("nonce",at),Ht.textContent=zt,this.shadowRoot.appendChild(Ht)}}nodeOrShadowRoot(A){return A===this.hostEl?this.shadowRoot:A}appendChild(A,D){return super.appendChild(this.nodeOrShadowRoot(A),D)}insertBefore(A,D,B){return super.insertBefore(this.nodeOrShadowRoot(A),D,B)}removeChild(A,D){return super.removeChild(this.nodeOrShadowRoot(A),D)}parentNode(A){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(A)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class St extends Ve{constructor(A,D,B,te,_e,Je,at,Mt){super(A,_e,Je,at),this.sharedStylesHost=D,this.removeStylesOnCompDestroy=te,this.styles=Mt?De(Mt,B.styles):B.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class be extends St{constructor(A,D,B,te,_e,Je,at,Mt){const Tt=te+"-"+B.id;super(A,D,B,_e,Je,at,Mt,Tt),this.contentAttr=function Te(U){return fe.replace(se,U)}(Tt),this.hostAttr=function ye(U){return oe.replace(se,U)}(Tt)}applyToHost(A){this.applyStyles(),this.setAttribute(A,this.hostAttr,"")}createElement(A,D){const B=super.createElement(A,D);return super.setAttribute(B,this.contentAttr,""),B}}let At=(()=>{class U extends ve{constructor(D){super(D)}supports(D){return!0}addEventListener(D,B,te){return D.addEventListener(B,te,!1),()=>this.removeEventListener(D,B,te)}removeEventListener(D,B,te){return D.removeEventListener(B,te)}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(F.K0))};static#t=this.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac})}return U})();const dt=["alt","control","meta","shift"],kt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},me={alt:U=>U.altKey,control:U=>U.ctrlKey,meta:U=>U.metaKey,shift:U=>U.shiftKey};let Be=(()=>{class U extends ve{constructor(D){super(D)}supports(D){return null!=U.parseEventName(D)}addEventListener(D,B,te){const _e=U.parseEventName(B),Je=U.eventCallback(_e.fullKey,te,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,F.q)().onAndCancel(D,_e.domEventName,Je))}static parseEventName(D){const B=D.toLowerCase().split("."),te=B.shift();if(0===B.length||"keydown"!==te&&"keyup"!==te)return null;const _e=U._normalizeKey(B.pop());let Je="",at=B.indexOf("code");if(at>-1&&(B.splice(at,1),Je="code."),dt.forEach(Tt=>{const zt=B.indexOf(Tt);zt>-1&&(B.splice(zt,1),Je+=Tt+".")}),Je+=_e,0!=B.length||0===_e.length)return null;const Mt={};return Mt.domEventName=te,Mt.fullKey=Je,Mt}static matchEventFullKeyCode(D,B){let te=kt[D.key]||D.key,_e="";return B.indexOf("code.")>-1&&(te=D.code,_e="code."),!(null==te||!te)&&(te=te.toLowerCase()," "===te?te="space":"."===te&&(te="dot"),dt.forEach(Je=>{Je!==te&&(0,me[Je])(D)&&(_e+=Je+".")}),_e+=te,_e===B)}static eventCallback(D,B,te){return _e=>{U.matchEventFullKeyCode(_e,D)&&te.runGuarded(()=>B(_e))}}static _normalizeKey(D){return"esc"===D?"escape":D}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(F.K0))};static#t=this.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac})}return U})();function pe(U,A){return(0,e.iPO)({rootComponent:U,...Ee(A)})}function Ee(U){return{appProviders:[...it,...U?.providers??[]],platformProviders:qe}}const qe=[{provide:e.Lbi,useValue:F.bD},{provide:e.g9A,useValue:function Oe(){R.makeCurrent()},multi:!0},{provide:F.K0,useFactory:function We(){return(0,e.RDi)(document),document},deps:[]}],ke=new e.OlP(""),Ke=[{provide:e.rWj,useClass:class N{addToWindow(A){e.dqk.getAngularTestability=(B,te=!0)=>{const _e=A.findTestabilityInTree(B,te);if(null==_e)throw new e.vHH(5103,!1);return _e},e.dqk.getAllAngularTestabilities=()=>A.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>A.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(B=>{const te=e.dqk.getAllAngularTestabilities();let _e=te.length;const Je=function(){_e--,0==_e&&B()};te.forEach(at=>{at.whenStable(Je)})})}findTestabilityInTree(A,D,B){return null==D?null:A.getTestability(D)??(B?(0,F.q)().isShadowRoot(D)?this.findTestabilityInTree(A,D.host,!0):this.findTestabilityInTree(A,D.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],it=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function ct(){return new e.qLn},deps:[]},{provide:X,useClass:At,multi:!0,deps:[F.K0,e.R0b,e.Lbi]},{provide:X,useClass:Be,multi:!0,deps:[F.K0]},Fe,q,ne,{provide:e.FYo,useExisting:Fe},{provide:F.JF,useClass:V,deps:[]},[]];let rt=(()=>{class U{constructor(D){}static withServerTransition(D){return{ngModule:U,providers:[{provide:e.AFp,useValue:D.appId}]}}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(ke,12))};static#t=this.\u0275mod=e.oAB({type:U});static#n=this.\u0275inj=e.cJS({providers:[...it,...Ke],imports:[F.ez,e.hGG]})}return U})(),Wt=(()=>{class U{constructor(D){this._doc=D}getTitle(){return this._doc.title}setTitle(D){this._doc.title=D||""}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(F.K0))};static#t=this.\u0275prov=e.Yz7({token:U,factory:function(B){let te=null;return te=B?new B:function Rt(){return new Wt((0,e.LFG)(F.K0))}(),te},providedIn:"root"})}return U})();typeof window<"u"&&window;let Xn=(()=>{class U{static#e=this.\u0275fac=function(B){return new(B||U)};static#t=this.\u0275prov=e.Yz7({token:U,factory:function(B){let te=null;return te=B?new(B||U):e.LFG(Zn),te},providedIn:"root"})}return U})(),Zn=(()=>{class U extends Xn{constructor(D){super(),this._doc=D}sanitize(D,B){if(null==B)return null;switch(D){case e.q3G.NONE:return B;case e.q3G.HTML:return(0,e.qzn)(B,"HTML")?(0,e.z3N)(B):(0,e.EiD)(this._doc,String(B)).toString();case e.q3G.STYLE:return(0,e.qzn)(B,"Style")?(0,e.z3N)(B):B;case e.q3G.SCRIPT:if((0,e.qzn)(B,"Script"))return(0,e.z3N)(B);throw new e.vHH(5200,!1);case e.q3G.URL:return(0,e.qzn)(B,"URL")?(0,e.z3N)(B):(0,e.mCW)(String(B));case e.q3G.RESOURCE_URL:if((0,e.qzn)(B,"ResourceURL"))return(0,e.z3N)(B);throw new e.vHH(5201,!1);default:throw new e.vHH(5202,!1)}}bypassSecurityTrustHtml(D){return(0,e.JVY)(D)}bypassSecurityTrustStyle(D){return(0,e.L6k)(D)}bypassSecurityTrustScript(D){return(0,e.eBb)(D)}bypassSecurityTrustUrl(D){return(0,e.LAX)(D)}bypassSecurityTrustResourceUrl(D){return(0,e.pB0)(D)}static#e=this.\u0275fac=function(B){return new(B||U)(e.LFG(F.K0))};static#t=this.\u0275prov=e.Yz7({token:U,factory:function(B){let te=null;return te=B?new B:function ai(U){return new Zn(U.get(F.K0))}(e.LFG(e.zs3)),te},providedIn:"root"})}return U})()},2787:(gt,Ce,m)=>{"use strict";m.d(Ce,{gz:()=>vr,m2:()=>Ut,F0:()=>rr,rH:()=>Hn,Bz:()=>au,bU:()=>Ba,jK:()=>Fd});var e=m(9212),F=m(2664),H=m(9666),R=m(2096),Q=m(5619),P=m(2572),ie=m(6973),N=m(5211),V=m(4911),X=m(8407),ne=m(8504),ve=m(6232),re=m(3168),q=m(8645),le=m(7394),se=m(6814),J=m(7398),oe=m(4664),fe=m(8180),Re=m(7921),Pe=m(2181),Te=m(1631),ye=m(1374),De=m(6328),Fe=m(9397),Ve=m(6306),He=m(9360),Ue=m(8251);var St=m(3572);function be(f){return f<=0?()=>ve.E:(0,He.e)((M,v)=>{let S=[];M.subscribe((0,Ue.x)(v,I=>{S.push(I),f {for(const I of S)v.next(I);v.complete()},void 0,()=>{S=null}))})}var At=m(3026),dt=m(2737),me=m(975),Be=m(4716),pe=m(6196),Se=m(9773),Ee=m(7537),Xe=m(6593);const Oe="primary",ct=Symbol("RouteTitle");class We{constructor(M){this.params=M||{}}has(M){return Object.prototype.hasOwnProperty.call(this.params,M)}get(M){if(this.has(M)){const v=this.params[M];return Array.isArray(v)?v[0]:v}return null}getAll(M){if(this.has(M)){const v=this.params[M];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function qe(f){return new We(f)}function de(f,M,v){const S=v.path.split("/");if(S.length>f.length||"full"===v.pathMatch&&(M.hasChildren()||S.length S[W]===I)}return f===M}function Ct(f){return f.length>0?f[f.length-1]:null}function st(f){return(0,F.b)(f)?f:(0,e.QGY)(f)?(0,H.D)(Promise.resolve(f)):(0,R.of)(f)}const Ye={exact:function rn(f,M,v){if(!Yn(f.segments,M.segments)||!an(f.segments,M.segments,v)||f.numberOfChildren!==M.numberOfChildren)return!1;for(const S in M.children)if(!f.children[S]||!rn(f.children[S],M.children[S],v))return!1;return!0},subset:Wn},Rt={exact:function bn(f,M){return Ke(f,M)},subset:function qn(f,M){return Object.keys(M).length<=Object.keys(f).length&&Object.keys(M).every(v=>rt(f[v],M[v]))},ignored:()=>!0};function Wt(f,M,v){return Ye[v.paths](f.root,M.root,v.matrixParams)&&Rt[v.queryParams](f.queryParams,M.queryParams)&&!("exact"===v.fragment&&f.fragment!==M.fragment)}function Wn(f,M,v){return tn(f,M,M.segments,v)}function tn(f,M,v,S){if(f.segments.length>v.length){const I=f.segments.slice(0,v.length);return!(!Yn(I,v)||M.hasChildren()||!an(I,v,S))}if(f.segments.length===v.length){if(!Yn(f.segments,v)||!an(f.segments,v,S))return!1;for(const I in M.children)if(!f.children[I]||!Wn(f.children[I],M.children[I],S))return!1;return!0}{const I=v.slice(0,f.segments.length),W=v.slice(f.segments.length);return!!(Yn(f.segments,I)&&an(f.segments,I,S)&&f.children[Oe])&&tn(f.children[Oe],M,W,S)}}function an(f,M,v){return M.every((S,I)=>Rt[v](f[I].parameters,S.parameters))}class zr{constructor(M=new Gt([],{}),v={},S=null){this.root=M,this.queryParams=v,this.fragment=S}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return xt.serialize(this)}}class Gt{constructor(M,v){this.segments=M,this.children=v,this.parent=null,Object.values(v).forEach(S=>S.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ii(this)}}class oi{constructor(M,v){this.path=M,this.parameters=v}get parameterMap(){return this._parameterMap??=qe(this.parameters),this._parameterMap}toString(){return Hi(this)}}function Yn(f,M){return f.length===M.length&&f.every((v,S)=>v.path===M[S].path)}let En=(()=>{class f{static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:()=>new gr,providedIn:"root"})}return f})();class gr{parse(M){const v=new Je(M);return new zr(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(M){const v=`/${Xn(M.root,!0)}`,S=function sn(f){const M=Object.entries(f).map(([v,S])=>Array.isArray(S)?S.map(I=>`${Zn(v)}=${Zn(I)}`).join("&"):`${Zn(v)}=${Zn(S)}`).filter(v=>v);return M.length?`?${M.join("&")}`:""}(M.queryParams);return`${v}${S}${"string"==typeof M.fragment?`#${function hi(f){return encodeURI(f)}(M.fragment)}`:""}`}}const xt=new gr;function Ii(f){return f.segments.map(M=>Hi(M)).join("/")}function Xn(f,M){if(!f.hasChildren())return Ii(f);if(M){const v=f.children[Oe]?Xn(f.children[Oe],!1):"",S=[];return Object.entries(f.children).forEach(([I,W])=>{I!==Oe&&S.push(`${I}:${Xn(W,!1)}`)}),S.length>0?`${v}(${S.join("//")})`:v}{const v=function ar(f,M){let v=[];return Object.entries(f.children).forEach(([S,I])=>{S===Oe&&(v=v.concat(M(I,S)))}),Object.entries(f.children).forEach(([S,I])=>{S!==Oe&&(v=v.concat(M(I,S)))}),v}(f,(S,I)=>I===Oe?[Xn(f.children[Oe],!1)]:[`${I}:${Xn(S,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[Oe]?`${Ii(f)}/${v[0]}`:`${Ii(f)}/(${v.join("//")})`}}function ai(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zn(f){return ai(f).replace(/%3B/gi,";")}function pi(f){return ai(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ni(f){return decodeURIComponent(f)}function _i(f){return ni(f.replace(/\+/g,"%20"))}function Hi(f){return`${pi(f.path)}${function Yt(f){return Object.entries(f).map(([M,v])=>`;${pi(M)}=${pi(v)}`).join("")}(f.parameters)}`}const Vr=/^[^\/()?;#]+/;function ft(f){const M=f.match(Vr);return M?M[0]:""}const U=/^[^\/()?;=#]+/,D=/^[^=?]+/,te=/^[^]+/;class Je{constructor(M){this.url=M,this.remaining=M}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Gt([],{}):new Gt([],this.parseChildren())}parseQueryParams(){const M={};if(this.consumeOptional("?"))do{this.parseQueryParam(M)}while(this.consumeOptional("&"));return M}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const M=[];for(this.peekStartsWith("(")||M.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),M.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let S={};return this.peekStartsWith("(")&&(S=this.parseParens(!1)),(M.length>0||Object.keys(v).length>0)&&(S[Oe]=new Gt(M,v)),S}parseSegment(){const M=ft(this.remaining);if(""===M&&this.peekStartsWith(";"))throw new e.vHH(4009,!1);return this.capture(M),new oi(ni(M),this.parseMatrixParams())}parseMatrixParams(){const M={};for(;this.consumeOptional(";");)this.parseParam(M);return M}parseParam(M){const v=function A(f){const M=f.match(U);return M?M[0]:""}(this.remaining);if(!v)return;this.capture(v);let S="";if(this.consumeOptional("=")){const I=ft(this.remaining);I&&(S=I,this.capture(S))}M[ni(v)]=ni(S)}parseQueryParam(M){const v=function B(f){const M=f.match(D);return M?M[0]:""}(this.remaining);if(!v)return;this.capture(v);let S="";if(this.consumeOptional("=")){const ue=function _e(f){const M=f.match(te);return M?M[0]:""}(this.remaining);ue&&(S=ue,this.capture(S))}const I=_i(v),W=_i(S);if(M.hasOwnProperty(I)){let ue=M[I];Array.isArray(ue)||(ue=[ue],M[I]=ue),ue.push(W)}else M[I]=W}parseParens(M){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const S=ft(this.remaining),I=this.remaining[S.length];if("/"!==I&&")"!==I&&";"!==I)throw new e.vHH(4010,!1);let W;S.indexOf(":")>-1?(W=S.slice(0,S.indexOf(":")),this.capture(W),this.capture(":")):M&&(W=Oe);const ue=this.parseChildren();v[W]=1===Object.keys(ue).length?ue[Oe]:new Gt([],ue),this.consumeOptional("//")}return v}peekStartsWith(M){return this.remaining.startsWith(M)}consumeOptional(M){return!!this.peekStartsWith(M)&&(this.remaining=this.remaining.substring(M.length),!0)}capture(M){if(!this.consumeOptional(M))throw new e.vHH(4011,!1)}}function at(f){return f.segments.length>0?new Gt([],{[Oe]:f}):f}function Mt(f){const M={};for(const[S,I]of Object.entries(f.children)){const W=Mt(I);if(S===Oe&&0===W.segments.length&&W.hasChildren())for(const[ue,Ge]of Object.entries(W.children))M[ue]=Ge;else(W.segments.length>0||W.hasChildren())&&(M[S]=W)}return function Tt(f){if(1===f.numberOfChildren&&f.children[Oe]){const M=f.children[Oe];return new Gt(f.segments.concat(M.segments),M.children)}return f}(new Gt(f.segments,M))}function zt(f){return f instanceof zr}function un(f){let M;const I=at(function v(W){const ue={};for(const je of W.children){const Dt=v(je);ue[je.outlet]=Dt}const Ge=new Gt(W.url,ue);return W===f&&(M=Ge),Ge}(f.root));return M??I}function $n(f,M,v,S){let I=f;for(;I.parent;)I=I.parent;if(0===M.length)return Ui(I,I,I,v,S);const W=function ps(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Qt(!0,0,f);let M=0,v=!1;const S=f.reduce((I,W,ue)=>{if("object"==typeof W&&null!=W){if(W.outlets){const Ge={};return Object.entries(W.outlets).forEach(([je,Dt])=>{Ge[je]="string"==typeof Dt?Dt.split("/"):Dt}),[...I,{outlets:Ge}]}if(W.segmentPath)return[...I,W.segmentPath]}return"string"!=typeof W?[...I,W]:0===ue?(W.split("/").forEach((Ge,je)=>{0==je&&"."===Ge||(0==je&&""===Ge?v=!0:".."===Ge?M++:""!=Ge&&I.push(Ge))}),I):[...I,W]},[]);return new Qt(v,M,S)}(M);if(W.toRoot())return Ui(I,I,new Gt([],{}),v,S);const ue=function Zt(f,M,v){if(f.isAbsolute)return new Fi(M,!0,0);if(!v)return new Fi(M,!1,NaN);if(null===v.parent)return new Fi(v,!0,0);const S=Jn(f.commands[0])?0:1;return function qo(f,M,v){let S=f,I=M,W=v;for(;W>I;){if(W-=I,S=S.parent,!S)throw new e.vHH(4005,!1);I=S.segments.length}return new Fi(S,!1,I-W)}(v,v.segments.length-1+S,f.numberOfDoubleDots)}(W,I,f),Ge=ue.processChildren?Ae(ue.segmentGroup,ue.index,W.commands):he(ue.segmentGroup,ue.index,W.commands);return Ui(I,ue.segmentGroup,Ge,v,S)}function Jn(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Si(f){return"object"==typeof f&&null!=f&&f.outlets}function Ui(f,M,v,S,I){let ue,W={};S&&Object.entries(S).forEach(([je,Dt])=>{W[je]=Array.isArray(Dt)?Dt.map(Jt=>`${Jt}`):`${Dt}`}),ue=f===M?v:ei(f,M,v);const Ge=at(Mt(ue));return new zr(Ge,W,I)}function ei(f,M,v){const S={};return Object.entries(f.children).forEach(([I,W])=>{S[I]=W===M?v:ei(W,M,v)}),new Gt(f.segments,S)}class Qt{constructor(M,v,S){if(this.isAbsolute=M,this.numberOfDoubleDots=v,this.commands=S,M&&S.length>0&&Jn(S[0]))throw new e.vHH(4003,!1);const I=S.find(Si);if(I&&I!==Ct(S))throw new e.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Fi{constructor(M,v,S){this.segmentGroup=M,this.processChildren=v,this.index=S}}function he(f,M,v){if(f??=new Gt([],{}),0===f.segments.length&&f.hasChildren())return Ae(f,M,v);const S=function xe(f,M,v){let S=0,I=M;const W={match:!1,pathIndex:0,commandIndex:0};for(;I =v.length)return W;const ue=f.segments[I],Ge=v[S];if(Si(Ge))break;const je=`${Ge}`,Dt=S 0&&void 0===je)break;if(je&&Dt&&"object"==typeof Dt&&void 0===Dt.outlets){if(!Pt(je,Dt,ue))return W;S+=2}else{if(!Pt(je,{},ue))return W;S++}I++}return{match:!0,pathIndex:I,commandIndex:S}}(f,M,v),I=v.slice(S.commandIndex);if(S.match&&S.pathIndex W!==Oe)&&f.children[Oe]&&1===f.numberOfChildren&&0===f.children[Oe].segments.length){const W=Ae(f.children[Oe],M,v);return new Gt(f.segments,W.children)}return Object.entries(S).forEach(([W,ue])=>{"string"==typeof ue&&(ue=[ue]),null!==ue&&(I[W]=he(f.children[W],M,ue))}),Object.entries(f.children).forEach(([W,ue])=>{void 0===S[W]&&(I[W]=ue)}),new Gt(f.segments,I)}}function ot(f,M,v){const S=f.segments.slice(0,M);let I=0;for(;I {"string"==typeof S&&(S=[S]),null!==S&&(M[v]=ot(new Gt([],{}),0,S))}),M}function Ot(f){const M={};return Object.entries(f).forEach(([v,S])=>M[v]=`${S}`),M}function Pt(f,M,v){return f==v.path&&Ke(M,v.parameters)}const nn="imperative";var Et=function(f){return f[f.NavigationStart=0]="NavigationStart",f[f.NavigationEnd=1]="NavigationEnd",f[f.NavigationCancel=2]="NavigationCancel",f[f.NavigationError=3]="NavigationError",f[f.RoutesRecognized=4]="RoutesRecognized",f[f.ResolveStart=5]="ResolveStart",f[f.ResolveEnd=6]="ResolveEnd",f[f.GuardsCheckStart=7]="GuardsCheckStart",f[f.GuardsCheckEnd=8]="GuardsCheckEnd",f[f.RouteConfigLoadStart=9]="RouteConfigLoadStart",f[f.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",f[f.ChildActivationStart=11]="ChildActivationStart",f[f.ChildActivationEnd=12]="ChildActivationEnd",f[f.ActivationStart=13]="ActivationStart",f[f.ActivationEnd=14]="ActivationEnd",f[f.Scroll=15]="Scroll",f[f.NavigationSkipped=16]="NavigationSkipped",f}(Et||{});class hn{constructor(M,v){this.id=M,this.url=v}}class Bn extends hn{constructor(M,v,S="imperative",I=null){super(M,v),this.type=Et.NavigationStart,this.navigationTrigger=S,this.restoredState=I}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends hn{constructor(M,v,S){super(M,v),this.urlAfterRedirects=S,this.type=Et.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Mn=function(f){return f[f.Redirect=0]="Redirect",f[f.SupersededByNewNavigation=1]="SupersededByNewNavigation",f[f.NoDataFromResolver=2]="NoDataFromResolver",f[f.GuardRejected=3]="GuardRejected",f}(Mn||{}),vi=function(f){return f[f.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",f[f.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",f}(vi||{});class wn extends hn{constructor(M,v,S,I){super(M,v),this.reason=S,this.code=I,this.type=Et.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class _n extends hn{constructor(M,v,S,I){super(M,v),this.reason=S,this.code=I,this.type=Et.NavigationSkipped}}class Sn extends hn{constructor(M,v,S,I){super(M,v),this.error=S,this.target=I,this.type=Et.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Dn extends hn{constructor(M,v,S,I){super(M,v),this.urlAfterRedirects=S,this.state=I,this.type=Et.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xs extends hn{constructor(M,v,S,I){super(M,v),this.urlAfterRedirects=S,this.state=I,this.type=Et.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yi extends hn{constructor(M,v,S,I,W){super(M,v),this.urlAfterRedirects=S,this.state=I,this.shouldActivate=W,this.type=Et.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dn extends hn{constructor(M,v,S,I){super(M,v),this.urlAfterRedirects=S,this.state=I,this.type=Et.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hr extends hn{constructor(M,v,S,I){super(M,v),this.urlAfterRedirects=S,this.state=I,this.type=Et.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xi{constructor(M){this.route=M,this.type=Et.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Yr{constructor(M){this.route=M,this.type=Et.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Or{constructor(M){this.snapshot=M,this.type=Et.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uo{constructor(M){this.snapshot=M,this.type=Et.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(M){this.snapshot=M,this.type=Et.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xa{constructor(M){this.snapshot=M,this.type=Et.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ho{constructor(M,v,S){this.routerEvent=M,this.position=v,this.anchor=S,this.type=Et.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Oo{}class Xo{constructor(M){this.url=M}}class Ns{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Zr,this.attachRef=null}}let Zr=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(v,S){const I=this.getOrCreateContext(v);I.outlet=S,this.contexts.set(v,I)}onChildOutletDestroyed(v){const S=this.getContext(v);S&&(S.outlet=null,S.attachRef=null)}onOutletDeactivated(){const v=this.contexts;return this.contexts=new Map,v}onOutletReAttached(v){this.contexts=v}getOrCreateContext(v){let S=this.getContext(v);return S||(S=new Ns,this.contexts.set(v,S)),S}getContext(v){return this.contexts.get(v)||null}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();class Is{constructor(M){this._root=M}get root(){return this._root.value}parent(M){const v=this.pathFromRoot(M);return v.length>1?v[v.length-2]:null}children(M){const v=Ys(M,this._root);return v?v.children.map(S=>S.value):[]}firstChild(M){const v=Ys(M,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(M){const v=er(M,this._root);return v.length<2?[]:v[v.length-2].children.map(I=>I.value).filter(I=>I!==M)}pathFromRoot(M){return er(M,this._root).map(v=>v.value)}}function Ys(f,M){if(f===M.value)return M;for(const v of M.children){const S=Ys(f,v);if(S)return S}return null}function er(f,M){if(f===M.value)return[M];for(const v of M.children){const S=er(f,v);if(S.length)return S.unshift(M),S}return[]}class tr{constructor(M,v){this.value=M,this.children=v}toString(){return`TreeNode(${this.value})`}}function mr(f){const M={};return f&&f.children.forEach(v=>M[v.value.outlet]=v),M}class _r extends Is{constructor(M,v){super(M),this.snapshot=v,$i(this,M)}toString(){return this.snapshot.toString()}}function Kr(f){const M=function ii(f){const W=new Ur([],{},{},"",{},Oe,f,null,{});return new vn("",new tr(W,[]))}(f),v=new Q.X([new oi("",{})]),S=new Q.X({}),I=new Q.X({}),W=new Q.X({}),ue=new Q.X(""),Ge=new vr(v,S,W,ue,I,Oe,f,M.root);return Ge.snapshot=M.root,new _r(new tr(Ge,[]),M)}class vr{constructor(M,v,S,I,W,ue,Ge,je){this.urlSubject=M,this.paramsSubject=v,this.queryParamsSubject=S,this.fragmentSubject=I,this.dataSubject=W,this.outlet=ue,this.component=Ge,this._futureSnapshot=je,this.title=this.dataSubject?.pipe((0,J.U)(Dt=>Dt[ct]))??(0,R.of)(void 0),this.url=M,this.params=v,this.queryParams=S,this.fragment=I,this.data=W}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,J.U)(M=>qe(M))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,J.U)(M=>qe(M))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fi(f,M,v="emptyOnly"){let S;const{routeConfig:I}=f;return S=null===M||"always"!==v&&""!==I?.path&&(M.component||M.routeConfig?.loadComponent)?{params:{...f.params},data:{...f.data},resolve:{...f.data,...f._resolvedData??{}}}:{params:{...M.params,...f.params},data:{...M.data,...f.data},resolve:{...f.data,...M.data,...I?.data,...f._resolvedData}},I&&Zs(I)&&(S.resolve[ct]=I.title),S}class Ur{get title(){return this.data?.[ct]}constructor(M,v,S,I,W,ue,Ge,je,Dt){this.url=M,this.params=v,this.queryParams=S,this.fragment=I,this.data=W,this.outlet=ue,this.component=Ge,this.routeConfig=je,this._resolve=Dt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=qe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(S=>S.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class vn extends Is{constructor(M,v){super(v),this.url=M,$i(this,v)}toString(){return Qr(this._root)}}function $i(f,M){M.value._routerState=f,M.children.forEach(v=>$i(f,v))}function Qr(f){const M=f.children.length>0?` { ${f.children.map(Qr).join(", ")} } `:"";return`${f.value}${M}`}function Jr(f){if(f.snapshot){const M=f.snapshot,v=f._futureSnapshot;f.snapshot=v,Ke(M.queryParams,v.queryParams)||f.queryParamsSubject.next(v.queryParams),M.fragment!==v.fragment&&f.fragmentSubject.next(v.fragment),Ke(M.params,v.params)||f.paramsSubject.next(v.params),function ke(f,M){if(f.length!==M.length)return!1;for(let v=0;v Ke(v.parameters,M[S].parameters))}(f.url,M.url);return v&&!(!f.parent!=!M.parent)&&(!f.parent||po(f.parent,M.parent))}function Zs(f){return"string"==typeof f.title||null===f.title}let qr=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oe,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(Zr),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb),this.inputBinder=(0,e.f3M)(Fs,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(v){if(v.name){const{firstChange:S,previousValue:I}=v.name;if(S)return;this.isTrackedInParentContexts(I)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(I)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(v){return this.parentContexts.getContext(v)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const v=this.parentContexts.getContext(this.name);v?.route&&(v.attachRef?this.attach(v.attachRef,v.route):this.activateWith(v.route,v.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,!1);this.location.detach();const v=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(v.instance),v}attach(v,S){this.activated=v,this._activatedRoute=S,this.location.insert(v.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(v.instance)}deactivate(){if(this.activated){const v=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(v)}}activateWith(v,S){if(this.isActivated)throw new e.vHH(4013,!1);this._activatedRoute=v;const I=this.location,ue=v.snapshot.component,Ge=this.parentContexts.getOrCreateContext(this.name).children,je=new Ar(v,Ge,I.injector);this.activated=I.createComponent(ue,{index:I.length,injector:je,environmentInjector:S??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275dir=e.lG2({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]})}return f})();class Ar{constructor(M,v,S){this.route=M,this.childContexts=v,this.parent=S}get(M,v){return M===vr?this.route:M===Zr?this.childContexts:this.parent.get(M,v)}}const Fs=new e.OlP("");let nr=(()=>{class f{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(v){this.unsubscribeFromRouteData(v),this.subscribeToRouteData(v)}unsubscribeFromRouteData(v){this.outletDataSubscriptions.get(v)?.unsubscribe(),this.outletDataSubscriptions.delete(v)}subscribeToRouteData(v){const{activatedRoute:S}=v,I=(0,P.a)([S.queryParams,S.params,S.data]).pipe((0,oe.w)(([W,ue,Ge],je)=>(Ge={...W,...ue,...Ge},0===je?(0,R.of)(Ge):Promise.resolve(Ge)))).subscribe(W=>{if(!v.isActivated||!v.activatedComponentRef||v.activatedRoute!==S||null===S.component)return void this.unsubscribeFromRouteData(v);const ue=(0,e.qFp)(S.component);if(ue)for(const{templateName:Ge}of ue.inputs)v.activatedComponentRef.setInput(Ge,W[Ge]);else this.unsubscribeFromRouteData(v)});this.outletDataSubscriptions.set(v,I)}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac})}return f})();function yn(f,M,v){if(v&&f.shouldReuseRoute(M.value,v.value.snapshot)){const S=v.value;S._futureSnapshot=M.value;const I=function yr(f,M,v){return M.children.map(S=>{for(const I of v.children)if(f.shouldReuseRoute(S.value,I.value.snapshot))return yn(f,S,I);return yn(f,S)})}(f,M,v);return new tr(S,I)}{if(f.shouldAttach(M.value)){const W=f.retrieve(M.value);if(null!==W){const ue=W.route;return ue.value._futureSnapshot=M.value,ue.children=M.children.map(Ge=>yn(f,Ge)),ue}}const S=function Ao(f){return new vr(new Q.X(f.url),new Q.X(f.params),new Q.X(f.queryParams),new Q.X(f.fragment),new Q.X(f.data),f.outlet,f.component,f)}(M.value),I=M.children.map(W=>yn(f,W));return new tr(S,I)}}const $r="ngNavigationCancelingError";function Ks(f,M){const{redirectTo:v,navigationBehaviorOptions:S}=zt(M)?{redirectTo:M,navigationBehaviorOptions:void 0}:M,I=Cr(!1,Mn.Redirect,M);return I.url=v,I.navigationBehaviorOptions=S,I}function Cr(f,M,v){const S=new Error("NavigationCancelingError: "+(f||""));return S[$r]=!0,S.cancellationCode=M,v&&(S.url=v),S}function fs(f){return f&&f[$r]}let gs=(()=>{class f{static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275cmp=e.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(S,I){1&S&&e._UZ(0,"router-outlet")},dependencies:[qr],encapsulation:2})}return f})();function Pr(f){const M=f.children&&f.children.map(Pr),v=M?{...f,children:M}:{...f};return!v.component&&!v.loadComponent&&(M||v.loadChildren)&&v.outlet&&v.outlet!==Oe&&(v.component=gs),v}function gi(f){return f.outlet||Oe}function es(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let M=f.parent;M;M=M.parent){const v=M.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class na{constructor(M,v,S,I,W){this.routeReuseStrategy=M,this.futureState=v,this.currState=S,this.forwardEvent=I,this.inputBindingEnabled=W}activate(M){const v=this.futureState._root,S=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,S,M),Jr(this.futureState.root),this.activateChildRoutes(v,S,M)}deactivateChildRoutes(M,v,S){const I=mr(v);M.children.forEach(W=>{const ue=W.value.outlet;this.deactivateRoutes(W,I[ue],S),delete I[ue]}),Object.values(I).forEach(W=>{this.deactivateRouteAndItsChildren(W,S)})}deactivateRoutes(M,v,S){const I=M.value,W=v?v.value:null;if(I===W)if(I.component){const ue=S.getContext(I.outlet);ue&&this.deactivateChildRoutes(M,v,ue.children)}else this.deactivateChildRoutes(M,v,S);else W&&this.deactivateRouteAndItsChildren(v,S)}deactivateRouteAndItsChildren(M,v){M.value.component&&this.routeReuseStrategy.shouldDetach(M.value.snapshot)?this.detachAndStoreRouteSubtree(M,v):this.deactivateRouteAndOutlet(M,v)}detachAndStoreRouteSubtree(M,v){const S=v.getContext(M.value.outlet),I=S&&M.value.component?S.children:v,W=mr(M);for(const ue of Object.values(W))this.deactivateRouteAndItsChildren(ue,I);if(S&&S.outlet){const ue=S.outlet.detach(),Ge=S.children.onOutletDeactivated();this.routeReuseStrategy.store(M.value.snapshot,{componentRef:ue,route:M,contexts:Ge})}}deactivateRouteAndOutlet(M,v){const S=v.getContext(M.value.outlet),I=S&&M.value.component?S.children:v,W=mr(M);for(const ue of Object.values(W))this.deactivateRouteAndItsChildren(ue,I);S&&(S.outlet&&(S.outlet.deactivate(),S.children.onOutletDeactivated()),S.attachRef=null,S.route=null)}activateChildRoutes(M,v,S){const I=mr(v);M.children.forEach(W=>{this.activateRoutes(W,I[W.value.outlet],S),this.forwardEvent(new xa(W.value.snapshot))}),M.children.length&&this.forwardEvent(new uo(M.value.snapshot))}activateRoutes(M,v,S){const I=M.value,W=v?v.value:null;if(Jr(I),I===W)if(I.component){const ue=S.getOrCreateContext(I.outlet);this.activateChildRoutes(M,v,ue.children)}else this.activateChildRoutes(M,v,S);else if(I.component){const ue=S.getOrCreateContext(I.outlet);if(this.routeReuseStrategy.shouldAttach(I.snapshot)){const Ge=this.routeReuseStrategy.retrieve(I.snapshot);this.routeReuseStrategy.store(I.snapshot,null),ue.children.onOutletReAttached(Ge.contexts),ue.attachRef=Ge.componentRef,ue.route=Ge.route.value,ue.outlet&&ue.outlet.attach(Ge.componentRef,Ge.route.value),Jr(Ge.route.value),this.activateChildRoutes(M,null,ue.children)}else{const Ge=es(I.snapshot);ue.attachRef=null,ue.route=I,ue.injector=Ge,ue.outlet&&ue.outlet.activateWith(I,ue.injector),this.activateChildRoutes(M,null,ue.children)}}else this.activateChildRoutes(M,null,S)}}class ms{constructor(M){this.path=M,this.route=this.path[this.path.length-1]}}class Qs{constructor(M,v){this.component=M,this.route=v}}function _o(f,M,v){const S=f._root;return cr(S,M?M._root:null,v,[S.value])}function pn(f,M){const v=Symbol(),S=M.get(f,v);return S===v?"function"!=typeof f||(0,e.Z0I)(f)?M.get(f):f:S}function cr(f,M,v,S,I={canDeactivateChecks:[],canActivateChecks:[]}){const W=mr(M);return f.children.forEach(ue=>{(function gn(f,M,v,S,I={canDeactivateChecks:[],canActivateChecks:[]}){const W=f.value,ue=M?M.value:null,Ge=v?v.getContext(f.value.outlet):null;if(ue&&W.routeConfig===ue.routeConfig){const je=function ti(f,M,v){if("function"==typeof v)return v(f,M);switch(v){case"pathParamsChange":return!Yn(f.url,M.url);case"pathParamsOrQueryParamsChange":return!Yn(f.url,M.url)||!Ke(f.queryParams,M.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!po(f,M)||!Ke(f.queryParams,M.queryParams);default:return!po(f,M)}}(ue,W,W.routeConfig.runGuardsAndResolvers);je?I.canActivateChecks.push(new ms(S)):(W.data=ue.data,W._resolvedData=ue._resolvedData),cr(f,M,W.component?Ge?Ge.children:null:v,S,I),je&&Ge&&Ge.outlet&&Ge.outlet.isActivated&&I.canDeactivateChecks.push(new Qs(Ge.outlet.component,ue))}else ue&&li(M,Ge,I),I.canActivateChecks.push(new ms(S)),cr(f,null,W.component?Ge?Ge.children:null:v,S,I)})(ue,W[ue.value.outlet],v,S.concat([ue.value]),I),delete W[ue.value.outlet]}),Object.entries(W).forEach(([ue,Ge])=>li(Ge,v.getContext(ue),I)),I}function li(f,M,v){const S=mr(f),I=f.value;Object.entries(S).forEach(([W,ue])=>{li(ue,I.component?M?M.children.getContext(W):null:M,v)}),v.canDeactivateChecks.push(new Qs(I.component&&M&&M.outlet&&M.outlet.isActivated?M.outlet.component:null,I))}function br(f){return"function"==typeof f}function jt(f){return f instanceof ie.K||"EmptyError"===f?.name}const Nn=Symbol("INITIAL_VALUE");function ci(){return(0,oe.w)(f=>(0,P.a)(f.map(M=>M.pipe((0,fe.q)(1),(0,Re.O)(Nn)))).pipe((0,J.U)(M=>{for(const v of M)if(!0!==v){if(v===Nn)return Nn;if(!1===v||v instanceof zr)return v}return!0}),(0,Pe.h)(M=>M!==Nn),(0,fe.q)(1)))}function ns(f){return(0,X.z)((0,Fe.b)(M=>{if(zt(M))throw Ks(0,M)}),(0,J.U)(M=>!0===M))}class ir{constructor(M){this.segmentGroup=M||null}}class Gr extends Error{constructor(M){super(),this.urlTree=M}}function Ei(f){return(0,ne._)(new ir(f))}class ra{constructor(M,v){this.urlSerializer=M,this.urlTree=v}lineralizeSegments(M,v){let S=[],I=v.root;for(;;){if(S=S.concat(I.segments),0===I.numberOfChildren)return(0,R.of)(S);if(I.numberOfChildren>1||!I.children[Oe])return(0,ne._)(new e.vHH(4e3,!1));I=I.children[Oe]}}applyRedirectCommands(M,v,S){const I=this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),M,S);if(v.startsWith("/"))throw new Gr(I);return I}applyRedirectCreateUrlTree(M,v,S,I){const W=this.createSegmentGroup(M,v.root,S,I);return new zr(W,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(M,v){const S={};return Object.entries(M).forEach(([I,W])=>{if("string"==typeof W&&W.startsWith(":")){const Ge=W.substring(1);S[I]=v[Ge]}else S[I]=W}),S}createSegmentGroup(M,v,S,I){const W=this.createSegments(M,v.segments,S,I);let ue={};return Object.entries(v.children).forEach(([Ge,je])=>{ue[Ge]=this.createSegmentGroup(M,je,S,I)}),new Gt(W,ue)}createSegments(M,v,S,I){return v.map(W=>W.path.startsWith(":")?this.findPosParam(M,W,I):this.findOrReturn(W,S))}findPosParam(M,v,S){const I=S[v.path.substring(1)];if(!I)throw new e.vHH(4001,!1);return I}findOrReturn(M,v){let S=0;for(const I of v){if(I.path===M.path)return v.splice(S),I;S++}return M}}const is={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function on(f,M,v,S,I){const W=Io(f,M,v);return W.matched?(S=function fo(f,M){return f.providers&&!f._injector&&(f._injector=(0,e.MMx)(f.providers,M,`Route: ${f.path}`)),f._injector??M}(M,S),function An(f,M,v,S){const I=M.canMatch;if(!I||0===I.length)return(0,R.of)(!0);const W=I.map(ue=>{const Ge=pn(ue,f);return st(function Ie(f){return f&&br(f.canMatch)}(Ge)?Ge.canMatch(M,v):(0,e.r_H)(f,()=>Ge(M,v)))});return(0,R.of)(W).pipe(ci(),ns())}(S,M,v).pipe((0,J.U)(ue=>!0===ue?W:{...is}))):(0,R.of)(W)}function Io(f,M,v){if("**"===M.path)return function Vs(f){return{matched:!0,parameters:f.length>0?Ct(f).parameters:{},consumedSegments:f,remainingSegments:[],positionalParamSegments:{}}}(v);if(""===M.path)return"full"===M.pathMatch&&(f.hasChildren()||v.length>0)?{...is}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const I=(M.matcher||de)(v,f,M);if(!I)return{...is};const W={};Object.entries(I.posParams??{}).forEach(([Ge,je])=>{W[Ge]=je.path});const ue=I.consumed.length>0?{...W,...I.consumed[I.consumed.length-1].parameters}:W;return{matched:!0,consumedSegments:I.consumed,remainingSegments:v.slice(I.consumed.length),parameters:ue,positionalParamSegments:I.posParams??{}}}function ur(f,M,v,S){return v.length>0&&function ri(f,M,v){return v.some(S=>Kn(f,M,S)&&gi(S)!==Oe)}(f,v,S)?{segmentGroup:new Gt(M,Js(S,new Gt(v,f.children))),slicedSegments:[]}:0===v.length&&function yo(f,M,v){return v.some(S=>Kn(f,M,S))}(f,v,S)?{segmentGroup:new Gt(f.segments,Hs(f,v,S,f.children)),slicedSegments:v}:{segmentGroup:new Gt(f.segments,f.children),slicedSegments:v}}function Hs(f,M,v,S){const I={};for(const W of v)if(Kn(f,M,W)&&!S[gi(W)]){const ue=new Gt([],{});I[gi(W)]=ue}return{...S,...I}}function Js(f,M){const v={};v[Oe]=M;for(const S of f)if(""===S.path&&gi(S)!==Oe){const I=new Gt([],{});v[gi(S)]=I}return v}function Kn(f,M,v){return(!(f.hasChildren()||M.length>0)||"full"!==v.pathMatch)&&""===v.path}class qs{}class Ia{constructor(M,v,S,I,W,ue,Ge){this.injector=M,this.configLoader=v,this.rootComponentType=S,this.config=I,this.urlTree=W,this.paramsInheritanceStrategy=ue,this.urlSerializer=Ge,this.applyRedirects=new ra(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(M){return new e.vHH(4002,`'${M.segmentGroup}'`)}recognize(){const M=ur(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(M).pipe((0,J.U)(v=>{const S=new Ur([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Oe,this.rootComponentType,null,{}),I=new tr(S,v),W=new vn("",I),ue=function Ht(f,M,v=null,S=null){return $n(un(f),M,v,S)}(S,[],this.urlTree.queryParams,this.urlTree.fragment);return ue.queryParams=this.urlTree.queryParams,W.url=this.urlSerializer.serialize(ue),this.inheritParamsAndData(W._root,null),{state:W,tree:ue}}))}match(M){return this.processSegmentGroup(this.injector,this.config,M,Oe).pipe((0,Ve.K)(S=>{if(S instanceof Gr)return this.urlTree=S.urlTree,this.match(S.urlTree.root);throw S instanceof ir?this.noMatchError(S):S}))}inheritParamsAndData(M,v){const S=M.value,I=fi(S,v,this.paramsInheritanceStrategy);S.params=Object.freeze(I.params),S.data=Object.freeze(I.data),M.children.forEach(W=>this.inheritParamsAndData(W,S))}processSegmentGroup(M,v,S,I){return 0===S.segments.length&&S.hasChildren()?this.processChildren(M,v,S):this.processSegment(M,v,S,S.segments,I,!0).pipe((0,J.U)(W=>W instanceof tr?[W]:[]))}processChildren(M,v,S){const I=[];for(const W of Object.keys(S.children))"primary"===W?I.unshift(W):I.push(W);return(0,H.D)(I).pipe((0,De.b)(W=>{const ue=S.children[W],Ge=function xo(f,M){const v=f.filter(S=>gi(S)===M);return v.push(...f.filter(S=>gi(S)!==M)),v}(v,W);return this.processSegmentGroup(M,Ge,ue,W)}),function nt(f,M){return(0,He.e)(function $e(f,M,v,S,I){return(W,ue)=>{let Ge=v,je=M,Dt=0;W.subscribe((0,Ue.x)(ue,Jt=>{const Xt=Dt++;je=Ge?f(je,Jt,Xt):(Ge=!0,Jt),S&&ue.next(je)},I&&(()=>{Ge&&ue.next(je),ue.complete()})))}}(f,M,arguments.length>=2,!0))}((W,ue)=>(W.push(...ue),W)),(0,St.d)(null),function kt(f,M){const v=arguments.length>=2;return S=>S.pipe(f?(0,Pe.h)((I,W)=>f(I,W,S)):dt.y,be(1),v?(0,St.d)(M):(0,At.T)(()=>new ie.K))}(),(0,Te.z)(W=>{if(null===W)return Ei(S);const ue=ko(W);return function tc(f){f.sort((M,v)=>M.value.outlet===Oe?-1:v.value.outlet===Oe?1:M.value.outlet.localeCompare(v.value.outlet))}(ue),(0,R.of)(ue)}))}processSegment(M,v,S,I,W,ue){return(0,H.D)(v).pipe((0,De.b)(Ge=>this.processSegmentAgainstRoute(Ge._injector??M,v,Ge,S,I,W,ue).pipe((0,Ve.K)(je=>{if(je instanceof ir)return(0,R.of)(null);throw je}))),(0,ye.P)(Ge=>!!Ge),(0,Ve.K)(Ge=>{if(jt(Ge))return function Fo(f,M,v){return 0===M.length&&!f.children[v]}(S,I,W)?(0,R.of)(new qs):Ei(S);throw Ge}))}processSegmentAgainstRoute(M,v,S,I,W,ue,Ge){return function Ci(f,M,v,S){return!!(gi(f)===S||S!==Oe&&Kn(M,v,f))&&Io(M,f,v).matched}(S,I,W,ue)?void 0===S.redirectTo?this.matchSegmentAgainstRoute(M,I,S,W,ue):this.allowRedirects&&Ge?this.expandSegmentAgainstRouteUsingRedirect(M,I,v,S,W,ue):Ei(I):Ei(I)}expandSegmentAgainstRouteUsingRedirect(M,v,S,I,W,ue){const{matched:Ge,consumedSegments:je,positionalParamSegments:Dt,remainingSegments:Jt}=Io(v,I,W);if(!Ge)return Ei(v);I.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Xt=this.applyRedirects.applyRedirectCommands(je,I.redirectTo,Dt);return this.applyRedirects.lineralizeSegments(I,Xt).pipe((0,Te.z)(kn=>this.processSegment(M,S,v,kn.concat(Jt),ue,!1)))}matchSegmentAgainstRoute(M,v,S,I,W){const ue=on(v,S,I,M);return"**"===S.path&&(v.children={}),ue.pipe((0,oe.w)(Ge=>Ge.matched?this.getChildConfig(M=S._injector??M,S,I).pipe((0,oe.w)(({routes:je})=>{const Dt=S._loadedInjector??M,{consumedSegments:Jt,remainingSegments:Xt,parameters:kn}=Ge,Li=new Ur(Jt,kn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Fa(f){return f.data||{}}(S),gi(S),S.component??S._loadedComponent??null,S,function Ra(f){return f.resolve||{}}(S)),{segmentGroup:Mi,slicedSegments:xi}=ur(v,Jt,Xt,je);if(0===xi.length&&Mi.hasChildren())return this.processChildren(Dt,je,Mi).pipe((0,J.U)(pr=>null===pr?null:new tr(Li,pr)));if(0===je.length&&0===xi.length)return(0,R.of)(new tr(Li,[]));const os=gi(S)===W;return this.processSegment(Dt,je,Mi,xi,os?Oe:W,!0).pipe((0,J.U)(pr=>new tr(Li,pr instanceof tr?[pr]:[])))})):Ei(v)))}getChildConfig(M,v,S){return v.children?(0,R.of)({routes:v.children,injector:M}):v.loadChildren?void 0!==v._loadedRoutes?(0,R.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function ia(f,M,v,S){const I=M.canLoad;if(void 0===I||0===I.length)return(0,R.of)(!0);const W=I.map(ue=>{const Ge=pn(ue,f);return st(function z(f){return f&&br(f.canLoad)}(Ge)?Ge.canLoad(M,v):(0,e.r_H)(f,()=>Ge(M,v)))});return(0,R.of)(W).pipe(ci(),ns())}(M,v,S).pipe((0,Te.z)(I=>I?this.configLoader.loadChildren(M,v).pipe((0,Fe.b)(W=>{v._loadedRoutes=W.routes,v._loadedInjector=W.injector})):function zs(f){return(0,ne._)(Cr(!1,Mn.GuardRejected))}())):(0,R.of)({routes:[],injector:M})}}function Ro(f){const M=f.value.routeConfig;return M&&""===M.path}function ko(f){const M=[],v=new Set;for(const S of f){if(!Ro(S)){M.push(S);continue}const I=M.find(W=>S.value.routeConfig===W.value.routeConfig);void 0!==I?(I.children.push(...S.children),v.add(I)):M.push(S)}for(const S of v){const I=ko(S.children);M.push(new tr(S.value,I))}return M.filter(S=>!v.has(S))}function w(f){const M=f.children.map(v=>w(v)).flat();return[f,...M]}function Me(f){return(0,oe.w)(M=>{const v=f(M);return v?(0,H.D)(v).pipe((0,J.U)(()=>M)):(0,R.of)(M)})}let et=(()=>{class f{buildTitle(v){let S,I=v.root;for(;void 0!==I;)S=this.getResolvedTitleForRoute(I)??S,I=I.children.find(W=>W.outlet===Oe);return S}getResolvedTitleForRoute(v){return v.data[ct]}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:()=>(0,e.f3M)(_t),providedIn:"root"})}return f})(),_t=(()=>{class f extends et{constructor(v){super(),this.title=v}updateTitle(v){const S=this.buildTitle(v);void 0!==S&&this.title.setTitle(S)}static#e=this.\u0275fac=function(S){return new(S||f)(e.LFG(Xe.Dx))};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const Nt=new e.OlP("",{providedIn:"root",factory:()=>({})}),Rn=new e.OlP("ROUTES");let In=(()=>{class f{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(v){if(this.componentLoaders.get(v))return this.componentLoaders.get(v);if(v._loadedComponent)return(0,R.of)(v._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(v);const S=st(v.loadComponent()).pipe((0,J.U)(Qn),(0,Fe.b)(W=>{this.onLoadEndListener&&this.onLoadEndListener(v),v._loadedComponent=W}),(0,Be.x)(()=>{this.componentLoaders.delete(v)})),I=new re.c(S,()=>new q.x).pipe((0,pe.x)());return this.componentLoaders.set(v,I),I}loadChildren(v,S){if(this.childrenLoaders.get(S))return this.childrenLoaders.get(S);if(S._loadedRoutes)return(0,R.of)({routes:S._loadedRoutes,injector:S._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(S);const W=function Pn(f,M,v,S){return st(f.loadChildren()).pipe((0,J.U)(Qn),(0,Te.z)(I=>I instanceof e.YKP||Array.isArray(I)?(0,R.of)(I):(0,H.D)(M.compileModuleAsync(I))),(0,J.U)(I=>{S&&S(f);let W,ue,Ge=!1;return Array.isArray(I)?(ue=I,!0):(W=I.create(v).injector,ue=W.get(Rn,[],{optional:!0,self:!0}).flat()),{routes:ue.map(Pr),injector:W}}))}(S,this.compiler,v,this.onLoadEndListener).pipe((0,Be.x)(()=>{this.childrenLoaders.delete(S)})),ue=new re.c(W,()=>new q.x).pipe((0,pe.x)());return this.childrenLoaders.set(S,ue),ue}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function Qn(f){return function fn(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let Fn=(()=>{class f{static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:()=>(0,e.f3M)(bi),providedIn:"root"})}return f})(),bi=(()=>{class f{shouldProcessUrl(v){return!0}extract(v){return v}merge(v,S){return v}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const vs=new e.OlP(""),ui=new e.OlP("");function Us(f,M,v){const S=f.get(ui),I=f.get(se.K0);return f.get(e.R0b).runOutsideAngular(()=>{if(!I.startViewTransition||S.skipNextTransition)return S.skipNextTransition=!1,Promise.resolve();let W;const ue=new Promise(Dt=>{W=Dt}),Ge=I.startViewTransition(()=>(W(),function Nr(f){return new Promise(M=>{(0,e.T8G)(M,{injector:f})})}(f))),{onViewTransitionCreated:je}=S;return je&&(0,e.r_H)(f,()=>je({transition:Ge,from:M,to:v})),ue})}let dr=(()=>{class f{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q.x,this.transitionAbortSubject=new q.x,this.configLoader=(0,e.f3M)(In),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(En),this.rootContexts=(0,e.f3M)(Zr),this.location=(0,e.f3M)(se.Ye),this.inputBindingEnabled=null!==(0,e.f3M)(Fs,{optional:!0}),this.titleStrategy=(0,e.f3M)(et),this.options=(0,e.f3M)(Nt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.f3M)(Fn),this.createViewTransition=(0,e.f3M)(vs,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,R.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=I=>this.events.next(new Yr(I)),this.configLoader.onLoadStartListener=I=>this.events.next(new Xi(I))}complete(){this.transitions?.complete()}handleNavigationRequest(v){const S=++this.navigationId;this.transitions?.next({...this.transitions.value,...v,id:S})}setupNavigations(v,S,I){return this.transitions=new Q.X({id:0,currentUrlTree:S,currentRawUrl:S,extractedUrl:this.urlHandlingStrategy.extract(S),urlAfterRedirects:this.urlHandlingStrategy.extract(S),rawUrl:S,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:nn,restoredState:null,currentSnapshot:I.snapshot,targetSnapshot:null,currentRouterState:I,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Pe.h)(W=>0!==W.id),(0,J.U)(W=>({...W,extractedUrl:this.urlHandlingStrategy.extract(W.rawUrl)})),(0,oe.w)(W=>{this.currentTransition=W;let ue=!1,Ge=!1;return(0,R.of)(W).pipe((0,Fe.b)(je=>{this.currentNavigation={id:je.id,initialUrl:je.rawUrl,extractedUrl:je.extractedUrl,trigger:je.source,extras:je.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,oe.w)(je=>{const Dt=!v.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Dt&&"reload"!==(je.extras.onSameUrlNavigation??v.onSameUrlNavigation)){const Xt="";return this.events.next(new _n(je.id,this.urlSerializer.serialize(je.rawUrl),Xt,vi.IgnoredSameUrlNavigation)),je.resolve(null),ve.E}if(this.urlHandlingStrategy.shouldProcessUrl(je.rawUrl))return(0,R.of)(je).pipe((0,oe.w)(Xt=>{const kn=this.transitions?.getValue();return this.events.next(new Bn(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),Xt.source,Xt.restoredState)),kn!==this.transitions?.getValue()?ve.E:Promise.resolve(Xt)}),function bo(f,M,v,S,I,W){return(0,Te.z)(ue=>function sa(f,M,v,S,I,W,ue="emptyOnly"){return new Ia(f,M,v,S,I,ue,W).recognize()}(f,M,v,S,ue.extractedUrl,I,W).pipe((0,J.U)(({state:Ge,tree:je})=>({...ue,targetSnapshot:Ge,urlAfterRedirects:je}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,v.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Fe.b)(Xt=>{W.targetSnapshot=Xt.targetSnapshot,W.urlAfterRedirects=Xt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Xt.urlAfterRedirects};const kn=new Dn(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot);this.events.next(kn)}));if(Dt&&this.urlHandlingStrategy.shouldProcessUrl(je.currentRawUrl)){const{id:Xt,extractedUrl:kn,source:Li,restoredState:Mi,extras:xi}=je,os=new Bn(Xt,this.urlSerializer.serialize(kn),Li,Mi);this.events.next(os);const pr=Kr(this.rootComponentType).snapshot;return this.currentTransition=W={...je,targetSnapshot:pr,urlAfterRedirects:kn,extras:{...xi,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=kn,(0,R.of)(W)}{const Xt="";return this.events.next(new _n(je.id,this.urlSerializer.serialize(je.extractedUrl),Xt,vi.IgnoredByUrlHandlingStrategy)),je.resolve(null),ve.E}}),(0,Fe.b)(je=>{const Dt=new xs(je.id,this.urlSerializer.serialize(je.extractedUrl),this.urlSerializer.serialize(je.urlAfterRedirects),je.targetSnapshot);this.events.next(Dt)}),(0,J.U)(je=>(this.currentTransition=W={...je,guards:_o(je.targetSnapshot,je.currentSnapshot,this.rootContexts)},W)),function ki(f,M){return(0,Te.z)(v=>{const{targetSnapshot:S,currentSnapshot:I,guards:{canActivateChecks:W,canDeactivateChecks:ue}}=v;return 0===ue.length&&0===W.length?(0,R.of)({...v,guardsResult:!0}):function Mr(f,M,v,S){return(0,H.D)(f).pipe((0,Te.z)(I=>function Ls(f,M,v,S,I){const W=M&&M.routeConfig?M.routeConfig.canDeactivate:null;if(!W||0===W.length)return(0,R.of)(!0);const ue=W.map(Ge=>{const je=es(M)??I,Dt=pn(Ge,je);return st(function ee(f){return f&&br(f.canDeactivate)}(Dt)?Dt.canDeactivate(f,M,v,S):(0,e.r_H)(je,()=>Dt(f,M,v,S))).pipe((0,ye.P)())});return(0,R.of)(ue).pipe(ci())}(I.component,I.route,v,M,S)),(0,ye.P)(I=>!0!==I,!0))}(ue,S,I,f).pipe((0,Te.z)(Ge=>Ge&&function Di(f){return"boolean"==typeof f}(Ge)?function _s(f,M,v,S){return(0,H.D)(M).pipe((0,De.b)(I=>(0,N.z)(function Wi(f,M){return null!==f&&M&&M(new Or(f)),(0,R.of)(!0)}(I.route.parent,S),function jn(f,M){return null!==f&&M&&M(new Ri(f)),(0,R.of)(!0)}(I.route,S),function ln(f,M,v){const S=M[M.length-1],W=M.slice(0,M.length-1).reverse().map(ue=>function vo(f){const M=f.routeConfig?f.routeConfig.canActivateChild:null;return M&&0!==M.length?{node:f,guards:M}:null}(ue)).filter(ue=>null!==ue).map(ue=>(0,V.P)(()=>{const Ge=ue.guards.map(je=>{const Dt=es(ue.node)??v,Jt=pn(je,Dt);return st(function E(f){return f&&br(f.canActivateChild)}(Jt)?Jt.canActivateChild(S,f):(0,e.r_H)(Dt,()=>Jt(S,f))).pipe((0,ye.P)())});return(0,R.of)(Ge).pipe(ci())}));return(0,R.of)(W).pipe(ci())}(f,I.path,v),function ts(f,M,v){const S=M.routeConfig?M.routeConfig.canActivate:null;if(!S||0===S.length)return(0,R.of)(!0);const I=S.map(W=>(0,V.P)(()=>{const ue=es(M)??v,Ge=pn(W,ue);return st(function G(f){return f&&br(f.canActivate)}(Ge)?Ge.canActivate(M,f):(0,e.r_H)(ue,()=>Ge(M,f))).pipe((0,ye.P)())}));return(0,R.of)(I).pipe(ci())}(f,I.route,v))),(0,ye.P)(I=>!0!==I,!0))}(S,W,f,M):(0,R.of)(Ge)),(0,J.U)(Ge=>({...v,guardsResult:Ge})))})}(this.environmentInjector,je=>this.events.next(je)),(0,Fe.b)(je=>{if(W.guardsResult=je.guardsResult,zt(je.guardsResult))throw Ks(0,je.guardsResult);const Dt=new yi(je.id,this.urlSerializer.serialize(je.extractedUrl),this.urlSerializer.serialize(je.urlAfterRedirects),je.targetSnapshot,!!je.guardsResult);this.events.next(Dt)}),(0,Pe.h)(je=>!!je.guardsResult||(this.cancelNavigationTransition(je,"",Mn.GuardRejected),!1)),Me(je=>{if(je.guards.canActivateChecks.length)return(0,R.of)(je).pipe((0,Fe.b)(Dt=>{const Jt=new dn(Dt.id,this.urlSerializer.serialize(Dt.extractedUrl),this.urlSerializer.serialize(Dt.urlAfterRedirects),Dt.targetSnapshot);this.events.next(Jt)}),(0,oe.w)(Dt=>{let Jt=!1;return(0,R.of)(Dt).pipe(function nu(f,M){return(0,Te.z)(v=>{const{targetSnapshot:S,guards:{canActivateChecks:I}}=v;if(!I.length)return(0,R.of)(v);const W=new Set(I.map(je=>je.route)),ue=new Set;for(const je of W)if(!ue.has(je))for(const Dt of w(je))ue.add(Dt);let Ge=0;return(0,H.D)(ue).pipe((0,De.b)(je=>W.has(je)?function K(f,M,v,S){const I=f.routeConfig,W=f._resolve;return void 0!==I?.title&&!Zs(I)&&(W[ct]=I.title),function x(f,M,v,S){const I=it(f);if(0===I.length)return(0,R.of)({});const W={};return(0,H.D)(I).pipe((0,Te.z)(ue=>function j(f,M,v,S){const I=es(M)??S,W=pn(f,I);return st(W.resolve?W.resolve(M,v):(0,e.r_H)(I,()=>W(M,v)))}(f[ue],M,v,S).pipe((0,ye.P)(),(0,Fe.b)(Ge=>{W[ue]=Ge}))),be(1),(0,me.h)(W),(0,Ve.K)(ue=>jt(ue)?ve.E:(0,ne._)(ue)))}(W,f,M,S).pipe((0,J.U)(ue=>(f._resolvedData=ue,f.data=fi(f,f.parent,v).resolve,null)))}(je,S,f,M):(je.data=fi(je,je.parent,f).resolve,(0,R.of)(void 0))),(0,Fe.b)(()=>Ge++),be(1),(0,Te.z)(je=>Ge===ue.size?(0,R.of)(v):ve.E))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Fe.b)({next:()=>Jt=!0,complete:()=>{Jt||this.cancelNavigationTransition(Dt,"",Mn.NoDataFromResolver)}}))}),(0,Fe.b)(Dt=>{const Jt=new Hr(Dt.id,this.urlSerializer.serialize(Dt.extractedUrl),this.urlSerializer.serialize(Dt.urlAfterRedirects),Dt.targetSnapshot);this.events.next(Jt)}))}),Me(je=>{const Dt=Jt=>{const Xt=[];Jt.routeConfig?.loadComponent&&!Jt.routeConfig._loadedComponent&&Xt.push(this.configLoader.loadComponent(Jt.routeConfig).pipe((0,Fe.b)(kn=>{Jt.component=kn}),(0,J.U)(()=>{})));for(const kn of Jt.children)Xt.push(...Dt(kn));return Xt};return(0,P.a)(Dt(je.targetSnapshot.root)).pipe((0,St.d)(null),(0,fe.q)(1))}),Me(()=>this.afterPreactivation()),(0,oe.w)(()=>{const{currentSnapshot:je,targetSnapshot:Dt}=W,Jt=this.createViewTransition?.(this.environmentInjector,je.root,Dt.root);return Jt?(0,H.D)(Jt).pipe((0,J.U)(()=>W)):(0,R.of)(W)}),(0,J.U)(je=>{const Dt=function ji(f,M,v){const S=yn(f,M._root,v?v._root:void 0);return new _r(S,M)}(v.routeReuseStrategy,je.targetSnapshot,je.currentRouterState);return this.currentTransition=W={...je,targetRouterState:Dt},this.currentNavigation.targetRouterState=Dt,W}),(0,Fe.b)(()=>{this.events.next(new Oo)}),((f,M,v,S)=>(0,J.U)(I=>(new na(M,I.targetRouterState,I.currentRouterState,v,S).activate(f),I)))(this.rootContexts,v.routeReuseStrategy,je=>this.events.next(je),this.inputBindingEnabled),(0,fe.q)(1),(0,Fe.b)({next:je=>{ue=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ut(je.id,this.urlSerializer.serialize(je.extractedUrl),this.urlSerializer.serialize(je.urlAfterRedirects))),this.titleStrategy?.updateTitle(je.targetRouterState.snapshot),je.resolve(!0)},complete:()=>{ue=!0}}),(0,Se.R)(this.transitionAbortSubject.pipe((0,Fe.b)(je=>{throw je}))),(0,Be.x)(()=>{!ue&&!Ge&&this.cancelNavigationTransition(W,"",Mn.SupersededByNewNavigation),this.currentNavigation?.id===W.id&&(this.currentNavigation=null)}),(0,Ve.K)(je=>{if(Ge=!0,fs(je))this.events.next(new wn(W.id,this.urlSerializer.serialize(W.extractedUrl),je.message,je.cancellationCode)),function Xr(f){return fs(f)&&zt(f.url)}(je)?this.events.next(new Xo(je.url)):W.resolve(!1);else{this.events.next(new Sn(W.id,this.urlSerializer.serialize(W.extractedUrl),je,W.targetSnapshot??void 0));try{W.resolve(v.errorHandler(je))}catch(Dt){this.options.resolveNavigationPromiseOnError?W.resolve(!1):W.reject(Dt)}}return ve.E}))}))}cancelNavigationTransition(v,S,I){const W=new wn(v.id,this.urlSerializer.serialize(v.extractedUrl),S,I);this.events.next(W),v.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function Ir(f){return f!==nn}let Ai=(()=>{class f{static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:()=>(0,e.f3M)(dl),providedIn:"root"})}return f})();class Fr{shouldDetach(M){return!1}store(M,v){}shouldAttach(M){return!1}retrieve(M){return null}shouldReuseRoute(M,v){return M.routeConfig===v.routeConfig}}let dl=(()=>{class f extends Fr{static#e=this.\u0275fac=(()=>{let v;return function(I){return(v||(v=e.n5z(f)))(I||f)}})();static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),ka=(()=>{class f{static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:()=>(0,e.f3M)(oa),providedIn:"root"})}return f})(),oa=(()=>{class f extends ka{constructor(){super(...arguments),this.location=(0,e.f3M)(se.Ye),this.urlSerializer=(0,e.f3M)(En),this.options=(0,e.f3M)(Nt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.f3M)(Fn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new zr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Kr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(v){return this.location.subscribe(S=>{"popstate"===S.type&&v(S.url,S.state)})}handleRouterEvent(v,S){if(v instanceof Bn)this.stateMemento=this.createStateMemento();else if(v instanceof _n)this.rawUrlTree=S.initialUrl;else if(v instanceof Dn){if("eager"===this.urlUpdateStrategy&&!S.extras.skipLocationChange){const I=this.urlHandlingStrategy.merge(S.finalUrl,S.initialUrl);this.setBrowserUrl(I,S)}}else v instanceof Oo?(this.currentUrlTree=S.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(S.finalUrl,S.initialUrl),this.routerState=S.targetRouterState,"deferred"===this.urlUpdateStrategy&&(S.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,S))):v instanceof wn&&(v.code===Mn.GuardRejected||v.code===Mn.NoDataFromResolver)?this.restoreHistory(S):v instanceof Sn?this.restoreHistory(S,!0):v instanceof Ut&&(this.lastSuccessfulId=v.id,this.currentPageId=this.browserPageId)}setBrowserUrl(v,S){const I=this.urlSerializer.serialize(v);if(this.location.isCurrentPathEqualTo(I)||S.extras.replaceUrl){const ue={...S.extras.state,...this.generateNgRouterState(S.id,this.browserPageId)};this.location.replaceState(I,"",ue)}else{const W={...S.extras.state,...this.generateNgRouterState(S.id,this.browserPageId+1)};this.location.go(I,"",W)}}restoreHistory(v,S=!1){if("computed"===this.canceledNavigationResolution){const W=this.currentPageId-this.browserPageId;0!==W?this.location.historyGo(W):this.currentUrlTree===v.finalUrl&&0===W&&(this.resetState(v),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(S&&this.resetState(v),this.resetUrlToCurrentUrlTree())}resetState(v){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,v.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(v,S){return"computed"===this.canceledNavigationResolution?{navigationId:v,\u0275routerPageId:S}:{navigationId:v}}static#e=this.\u0275fac=(()=>{let v;return function(I){return(v||(v=e.n5z(f)))(I||f)}})();static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();var rs=function(f){return f[f.COMPLETE=0]="COMPLETE",f[f.FAILED=1]="FAILED",f[f.REDIRECTING=2]="REDIRECTING",f}(rs||{});function aa(f,M){f.events.pipe((0,Pe.h)(v=>v instanceof Ut||v instanceof wn||v instanceof Sn||v instanceof _n),(0,J.U)(v=>v instanceof Ut||v instanceof _n?rs.COMPLETE:v instanceof wn&&(v.code===Mn.Redirect||v.code===Mn.SupersededByNewNavigation)?rs.REDIRECTING:rs.FAILED),(0,Pe.h)(v=>v!==rs.REDIRECTING),(0,fe.q)(1)).subscribe(()=>{M()})}function hr(f){throw f}const nc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Mo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rr=(()=>{class f{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,e.f3M)(e.c2e),this.stateManager=(0,e.f3M)(ka),this.options=(0,e.f3M)(Nt,{optional:!0})||{},this.pendingTasks=(0,e.f3M)(e.I6F),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.f3M)(dr),this.urlSerializer=(0,e.f3M)(En),this.location=(0,e.f3M)(se.Ye),this.urlHandlingStrategy=(0,e.f3M)(Fn),this._events=new q.x,this.errorHandler=this.options.errorHandler||hr,this.navigated=!1,this.routeReuseStrategy=(0,e.f3M)(Ai),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.f3M)(Rn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.f3M)(Fs,{optional:!0}),this.eventsSubscription=new le.w0,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:v=>{this.console.warn(v)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const v=this.navigationTransitions.events.subscribe(S=>{try{const I=this.navigationTransitions.currentTransition,W=this.navigationTransitions.currentNavigation;if(null!==I&&null!==W)if(this.stateManager.handleRouterEvent(S,W),S instanceof wn&&S.code!==Mn.Redirect&&S.code!==Mn.SupersededByNewNavigation)this.navigated=!0;else if(S instanceof Ut)this.navigated=!0;else if(S instanceof Xo){const ue=this.urlHandlingStrategy.merge(S.url,I.currentRawUrl),Ge={info:I.extras.info,skipLocationChange:I.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ir(I.source)};this.scheduleNavigation(ue,nn,null,Ge,{resolve:I.resolve,reject:I.reject,promise:I.promise})}(function ic(f){return!(f instanceof Oo||f instanceof Xo)})(S)&&this._events.next(S)}catch(I){this.navigationTransitions.transitionAbortSubject.next(I)}});this.eventsSubscription.add(v)}resetRootComponentType(v){this.routerState.root.component=v,this.navigationTransitions.rootComponentType=v}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),nn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((v,S)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(v,"popstate",S)},0)})}navigateToSyncWithBrowser(v,S,I){const W={replaceUrl:!0},ue=I?.navigationId?I:null;if(I){const je={...I};delete je.navigationId,delete je.\u0275routerPageId,0!==Object.keys(je).length&&(W.state=je)}const Ge=this.parseUrl(v);this.scheduleNavigation(Ge,S,ue,W)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(v){this.config=v.map(Pr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(v,S={}){const{relativeTo:I,queryParams:W,fragment:ue,queryParamsHandling:Ge,preserveFragment:je}=S,Dt=je?this.currentUrlTree.fragment:ue;let Xt,Jt=null;switch(Ge){case"merge":Jt={...this.currentUrlTree.queryParams,...W};break;case"preserve":Jt=this.currentUrlTree.queryParams;break;default:Jt=W||null}null!==Jt&&(Jt=this.removeEmptyProps(Jt));try{Xt=un(I?I.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof v[0]||!v[0].startsWith("/"))&&(v=[]),Xt=this.currentUrlTree.root}return $n(Xt,v,Jt,Dt??null)}navigateByUrl(v,S={skipLocationChange:!1}){const I=zt(v)?v:this.parseUrl(v),W=this.urlHandlingStrategy.merge(I,this.rawUrlTree);return this.scheduleNavigation(W,nn,null,S)}navigate(v,S={skipLocationChange:!1}){return function la(f){for(let M=0;M (null!=W&&(S[I]=W),S),{})}scheduleNavigation(v,S,I,W,ue){if(this.disposed)return Promise.resolve(!1);let Ge,je,Dt;ue?(Ge=ue.resolve,je=ue.reject,Dt=ue.promise):Dt=new Promise((Xt,kn)=>{Ge=Xt,je=kn});const Jt=this.pendingTasks.add();return aa(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jt))}),this.navigationTransitions.handleNavigationRequest({source:S,restoredState:I,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:v,extras:W,resolve:Ge,reject:je,promise:Dt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Dt.catch(Xt=>Promise.reject(Xt))}static#e=this.\u0275fac=function(S){return new(S||f)};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),Hn=(()=>{class f{constructor(v,S,I,W,ue,Ge){this.router=v,this.route=S,this.tabIndexAttribute=I,this.renderer=W,this.el=ue,this.locationStrategy=Ge,this.href=null,this.commands=null,this.onChanges=new q.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const je=ue.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===je||"area"===je,this.isAnchorElement?this.subscription=v.events.subscribe(Dt=>{Dt instanceof Ut&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(v){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",v)}ngOnChanges(v){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(v){null!=v?(this.commands=Array.isArray(v)?v:[v],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(v,S,I,W,ue){return!!(null===this.urlTree||this.isAnchorElement&&(0!==v||S||I||W||ue||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const v=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(v,S){const I=this.renderer,W=this.el.nativeElement;null!==S?I.setAttribute(W,v,S):I.removeAttribute(W,v)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(S){return new(S||f)(e.Y36(rr),e.Y36(vr),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(se.S$))};static#t=this.\u0275dir=e.lG2({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(S,I){1&S&&e.NdJ("click",function(ue){return I.onClick(ue.button,ue.ctrlKey,ue.shiftKey,ue.altKey,ue.metaKey)}),2&S&&e.uIk("target",I.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[e.lbL.HasDecoratorInputTransform,"preserveFragment","preserveFragment",e.VuI],skipLocationChange:[e.lbL.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",e.VuI],replaceUrl:[e.lbL.HasDecoratorInputTransform,"replaceUrl","replaceUrl",e.VuI],routerLink:"routerLink"},standalone:!0,features:[e.Xq5,e.TTD]})}return f})();class Ti{}let So=(()=>{class f{constructor(v,S,I,W,ue){this.router=v,this.injector=I,this.preloadingStrategy=W,this.loader=ue}setUpPreloading(){this.subscription=this.router.events.pipe((0,Pe.h)(v=>v instanceof Ut),(0,De.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(v,S){const I=[];for(const W of S){W.providers&&!W._injector&&(W._injector=(0,e.MMx)(W.providers,v,`Route: ${W.path}`));const ue=W._injector??v,Ge=W._loadedInjector??ue;(W.loadChildren&&!W._loadedRoutes&&void 0===W.canLoad||W.loadComponent&&!W._loadedComponent)&&I.push(this.preloadConfig(ue,W)),(W.children||W._loadedRoutes)&&I.push(this.processRoutes(Ge,W.children??W._loadedRoutes))}return(0,H.D)(I).pipe((0,Ee.J)())}preloadConfig(v,S){return this.preloadingStrategy.preload(S,()=>{let I;I=S.loadChildren&&void 0===S.canLoad?this.loader.loadChildren(v,S):(0,R.of)(null);const W=I.pipe((0,Te.z)(ue=>null===ue?(0,R.of)(void 0):(S._loadedRoutes=ue.routes,S._loadedInjector=ue.injector,this.processRoutes(ue.injector??v,ue.routes))));if(S.loadComponent&&!S._loadedComponent){const ue=this.loader.loadComponent(S);return(0,H.D)([W,ue]).pipe((0,Ee.J)())}return W})}static#e=this.\u0275fac=function(S){return new(S||f)(e.LFG(rr),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(Ti),e.LFG(In))};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const sr=new e.OlP("");let pl=(()=>{class f{constructor(v,S,I,W,ue={}){this.urlSerializer=v,this.transitions=S,this.viewportScroller=I,this.zone=W,this.options=ue,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ue.scrollPositionRestoration||="disabled",ue.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(v=>{v instanceof Bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=v.navigationTrigger,this.restoredId=v.restoredState?v.restoredState.navigationId:0):v instanceof Ut?(this.lastId=v.id,this.scheduleScrollEvent(v,this.urlSerializer.parse(v.urlAfterRedirects).fragment)):v instanceof _n&&v.code===vi.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(v,this.urlSerializer.parse(v.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(v=>{v instanceof ho&&(v.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(v.position):v.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(v.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(v,S){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ho(v,"popstate"===this.lastSource?this.store[this.restoredId]:null,S))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(S){e.$Z()};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac})}return f})();function Ba(f,...M){return(0,e.MR2)([{provide:Rn,multi:!0,useValue:f},[],{provide:vr,useFactory:ca,deps:[rr]},{provide:e.tb,multi:!0,useFactory:fl},M.map(v=>v.\u0275providers)])}function ca(f){return f.routerState.root}function Pi(f,M){return{\u0275kind:f,\u0275providers:M}}function fl(){const f=(0,e.f3M)(e.zs3);return M=>{const v=f.get(e.z2F);if(M!==v.components[0])return;const S=f.get(rr),I=f.get(Lo);1===f.get(da)&&S.initialNavigation(),f.get(za,null,e.XFs.Optional)?.setUpPreloading(),f.get(sr,null,e.XFs.Optional)?.init(),S.resetRootComponentType(v.componentTypes[0]),I.closed||(I.next(),I.complete(),I.unsubscribe())}}const Lo=new e.OlP("",{factory:()=>new q.x}),da=new e.OlP("",{providedIn:"root",factory:()=>1}),za=new e.OlP("");function pt(f){return Pi(0,[{provide:za,useExisting:So},{provide:Ti,useExisting:f}])}function Fd(){return Pi(6,[{provide:se.S$,useClass:se.Do}])}function Bo(f){return Pi(9,[{provide:vs,useValue:Us},{provide:ui,useValue:{skipNextTransition:!!f?.skipInitialTransition,...f}}])}const sc=new e.OlP("ROUTER_FORROOT_GUARD"),kd=[se.Ye,{provide:En,useClass:gr},rr,Zr,{provide:vr,useFactory:ca,deps:[rr]},In,[]];let au=(()=>{class f{constructor(v){}static forRoot(v,S){return{ngModule:f,providers:[kd,[],{provide:Rn,multi:!0,useValue:v},{provide:sc,useFactory:_l,deps:[[rr,new e.FiY,new e.tp0]]},{provide:Nt,useValue:S||{}},S?.useHash?{provide:se.S$,useClass:se.Do}:{provide:se.S$,useClass:se.b0},{provide:sr,useFactory:()=>{const f=(0,e.f3M)(se.EM),M=(0,e.f3M)(e.R0b),v=(0,e.f3M)(Nt),S=(0,e.f3M)(dr),I=(0,e.f3M)(En);return v.scrollOffset&&f.setOffset(v.scrollOffset),new pl(I,S,f,M,v)}},S?.preloadingStrategy?pt(S.preloadingStrategy).\u0275providers:[],S?.initialNavigation?L(S):[],S?.bindToComponentInputs?Pi(8,[nr,{provide:Fs,useExisting:nr}]).\u0275providers:[],S?.enableViewTransitions?Bo().\u0275providers:[],[{provide:y,useFactory:fl},{provide:e.tb,multi:!0,useExisting:y}]]}}static forChild(v){return{ngModule:f,providers:[{provide:Rn,multi:!0,useValue:v}]}}static#e=this.\u0275fac=function(S){return new(S||f)(e.LFG(sc,8))};static#t=this.\u0275mod=e.oAB({type:f});static#n=this.\u0275inj=e.cJS({})}return f})();function _l(f){return"guarded"}function L(f){return["disabled"===f.initialNavigation?Pi(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const M=(0,e.f3M)(rr);return()=>{M.setUpLocationChangeListener()}}},{provide:da,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?Pi(2,[{provide:da,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:M=>{const v=M.get(se.V_,Promise.resolve());return()=>v.then(()=>new Promise(S=>{const I=M.get(rr),W=M.get(Lo);aa(I,()=>{S(!0)}),M.get(dr).afterPreactivation=()=>(S(!0),W.closed?(0,R.of)(void 0):W),I.initialNavigation()}))}}]).\u0275providers:[]]}const y=new e.OlP("")},5001:(gt,Ce,m)=>{"use strict";m.d(Ce,{Wr:()=>At,Mk:()=>De,yO:()=>Fe});var e=m(9212),F=m(6814),H=m(4911),R=m(8504),Q=m(2438),P=m(2096),ie=m(5211),N=m(8645),V=m(5592),X=m(2420);const ne=new V.y(X.Z);var re=m(3019),q=m(7398),le=m(2181),se=m(4664),J=m(9636),oe=m(8180),fe=m(9397),Re=m(5177);const Pe="Service workers are disabled or not supported by this browser";class ye{constructor(kt){if(this.serviceWorker=kt,kt){const Be=(0,Q.R)(kt,"controllerchange").pipe((0,q.U)(()=>kt.controller)),pe=(0,H.P)(()=>(0,P.of)(kt.controller)),Se=(0,ie.z)(pe,Be);this.worker=Se.pipe((0,le.h)(We=>!!We)),this.registration=this.worker.pipe((0,se.w)(()=>kt.getRegistration()));const ct=(0,Q.R)(kt,"message").pipe((0,q.U)(We=>We.data)).pipe((0,le.h)(We=>We&&We.type)).pipe((0,J.n)());ct.connect(),this.events=ct}else this.worker=this.events=this.registration=function Te(dt){return(0,H.P)(()=>(0,R._)(new Error(dt)))}(Pe)}postMessage(kt,me){return this.worker.pipe((0,oe.q)(1),(0,fe.b)(Be=>{Be.postMessage({action:kt,...me})})).toPromise().then(()=>{})}postMessageWithOperation(kt,me,Be){const pe=this.waitForOperationCompleted(Be),Se=this.postMessage(kt,me);return Promise.all([Se,pe]).then(([,Ee])=>Ee)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(kt){let me;return me="string"==typeof kt?Be=>Be.type===kt:Be=>kt.includes(Be.type),this.events.pipe((0,le.h)(me))}nextEventOfType(kt){return this.eventsOfType(kt).pipe((0,oe.q)(1))}waitForOperationCompleted(kt){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,le.h)(me=>me.nonce===kt),(0,oe.q)(1),(0,q.U)(me=>{if(void 0!==me.result)return me.result;throw new Error(me.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let De=(()=>{class dt{get isEnabled(){return this.sw.isEnabled}constructor(me){if(this.sw=me,this.pushManager=null,this.subscriptionChanges=new N.x,!me.isEnabled)return this.messages=ne,this.notificationClicks=ne,void(this.subscription=ne);this.messages=this.sw.eventsOfType("PUSH").pipe((0,q.U)(pe=>pe.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,q.U)(pe=>pe.data)),this.pushManager=this.sw.registration.pipe((0,q.U)(pe=>pe.pushManager));const Be=this.pushManager.pipe((0,se.w)(pe=>pe.getSubscription()));this.subscription=(0,re.T)(Be,this.subscriptionChanges)}requestSubscription(me){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Pe));const Be={userVisibleOnly:!0};let pe=this.decodeBase64(me.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),Se=new Uint8Array(new ArrayBuffer(pe.length));for(let Ee=0;Ee Ee.subscribe(Be)),(0,oe.q)(1)).toPromise().then(Ee=>(this.subscriptionChanges.next(Ee),Ee))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,oe.q)(1),(0,se.w)(Be=>{if(null===Be)throw new Error("Not subscribed to push notifications.");return Be.unsubscribe().then(pe=>{if(!pe)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Pe))}decodeBase64(me){return atob(me)}static#e=this.\u0275fac=function(Be){return new(Be||dt)(e.LFG(ye))};static#t=this.\u0275prov=e.Yz7({token:dt,factory:dt.\u0275fac})}return dt})(),Fe=(()=>{class dt{get isEnabled(){return this.sw.isEnabled}constructor(me){if(this.sw=me,!me.isEnabled)return this.versionUpdates=ne,void(this.unrecoverable=ne);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Pe));const me=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:me},me)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Pe));const me=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:me},me)}static#e=this.\u0275fac=function(Be){return new(Be||dt)(e.LFG(ye))};static#t=this.\u0275prov=e.Yz7({token:dt,factory:dt.\u0275fac})}return dt})();const Ve=new e.OlP("NGSW_REGISTER_SCRIPT");function He(dt,kt,me,Be){return()=>{if(!(0,F.NF)(Be)||!("serviceWorker"in navigator)||!1===me.enabled)return;let pe;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof me.registrationStrategy)pe=me.registrationStrategy();else{const[Ee,...Xe]=(me.registrationStrategy||"registerWhenStable:30000").split(":");switch(Ee){case"registerImmediately":pe=(0,P.of)(null);break;case"registerWithDelay":pe=Ue(+Xe[0]||0);break;case"registerWhenStable":pe=Xe[0]?(0,re.T)($e(dt),Ue(+Xe[0])):$e(dt);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${me.registrationStrategy}`)}}dt.get(e.R0b).runOutsideAngular(()=>pe.pipe((0,oe.q)(1)).subscribe(()=>navigator.serviceWorker.register(kt,{scope:me.scope}).catch(Ee=>console.error("Service worker registration failed with:",Ee))))}}function Ue(dt){return(0,P.of)(null).pipe((0,Re.g)(dt))}function $e(dt){return dt.get(e.z2F).isStable.pipe((0,le.h)(me=>me))}function nt(dt,kt){return new ye((0,F.NF)(kt)&&!1!==dt.enabled?navigator.serviceWorker:void 0)}class St{}function be(dt,kt={}){return(0,e.MR2)([De,Fe,{provide:Ve,useValue:dt},{provide:St,useValue:kt},{provide:ye,useFactory:nt,deps:[St,e.Lbi]},{provide:e.ip1,useFactory:He,deps:[e.zs3,Ve,St,e.Lbi],multi:!0}])}let At=(()=>{class dt{static register(me,Be={}){return{ngModule:dt,providers:[be(me,Be)]}}static#e=this.\u0275fac=function(Be){return new(Be||dt)};static#t=this.\u0275mod=e.oAB({type:dt});static#n=this.\u0275inj=e.cJS({providers:[De,Fe]})}return dt})()},7173:(gt,Ce,m)=>{"use strict";m.d(Ce,{GC5:()=>rf,H6J:()=>Nu,$Jd:()=>km,t04:()=>Ah,Q3p:()=>Ya,qCO:()=>g0,AvE:()=>m0,SaG:()=>Hl,YZd:()=>n1,oGl:()=>zi,Xh:()=>E1,wNd:()=>ld,CG_:()=>q_,nhe:()=>Bl,jSo:()=>Lc,DPz:()=>qa,mnu:()=>E_,Qry:()=>T_,T2N:()=>Zh,ZDs:()=>Xu,wgE:()=>Wm,yKW:()=>jh,Asz:()=>Ic,XWE:()=>gf,zO1:()=>vf,ndF:()=>ju,zyh:()=>Ja,NTf:()=>Wf,MfT:()=>Yf,SrF:()=>Qf,HKp:()=>Ku,j7H:()=>Ry,X4l:()=>$c,Gln:()=>v1,fl2:()=>_f,jBG:()=>D1,V7y:()=>P0,d6C:()=>si,fe3:()=>Qi,fMN:()=>di,B7b:()=>Nc,KdK:()=>Ts,sTn:()=>v0,h8i:()=>Hc,nKr:()=>e1,QWS:()=>Ol,dP_:()=>Ff,Aqw:()=>Jh,xdM:()=>Ss,nXk:()=>Bi,dmS:()=>qh,BW0:()=>hy,zP_:()=>Af,qBV:()=>wa,COg:()=>P_,_4W:()=>Oh,mBz:()=>kc,j5J:()=>Bf,kkI:()=>kl,q51:()=>il,$6R:()=>S1,x4g:()=>Zc,ydg:()=>wy,spT:()=>Zf,t3q:()=>rl,rs:()=>w1,aGg:()=>Wc,IIj:()=>A0,nZR:()=>$f,P1:()=>__,lzT:()=>r0,Tzq:()=>t1,Q7R:()=>Oy,uuI:()=>S_,obu:()=>nl,yyc:()=>sl,aWm:()=>ba,TR4:()=>Bc,kyn:()=>s0,EoG:()=>y_,c2L:()=>lo,yk:()=>Zl,d0f:()=>Ji,urD:()=>ll,SDF:()=>$h,WMF:()=>Al,LW9:()=>E0,quB:()=>Wl,BLq:()=>L0,wB1:()=>Jl,jNv:()=>jc,rgH:()=>M1,k0$:()=>o0,AE1:()=>C_,wXm:()=>T1});var e=m(9212),F=m(6814),H=m(7328),R=m(8645),Q=m(5592),P=m(3019),ie=m(2438),N=m(6232),V=m(5619),X=m(2572),ne=m(9666),ve=m(1687),re=m(4825),q=m(2096),le=m(9315),se=m(1954),J=m(7394);const oe={schedule(o){let d=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:s}=oe;s&&(d=s.requestAnimationFrame,n=s.cancelAnimationFrame);const l=d(g=>{n=void 0,o(g)});return new J.w0(()=>n?.(l))},requestAnimationFrame(...o){const{delegate:d}=oe;return(d?.requestAnimationFrame||requestAnimationFrame)(...o)},cancelAnimationFrame(...o){const{delegate:d}=oe;return(d?.cancelAnimationFrame||cancelAnimationFrame)(...o)},delegate:void 0};var Re=m(2631);new class Pe extends Re.v{flush(d){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let l;d=d||s.shift();do{if(l=d.execute(d.state,d.delay))break}while((d=s[0])&&d.id===n&&s.shift());if(this._active=!1,l){for(;(d=s[0])&&d.id===n&&s.shift();)d.unsubscribe();throw l}}}(class fe extends se.o{constructor(d,n){super(d,n),this.scheduler=d,this.work=n}requestAsyncId(d,n,s=0){return null!==s&&s>0?super.requestAsyncId(d,n,s):(d.actions.push(this),d._scheduled||(d._scheduled=oe.requestAnimationFrame(()=>d.flush(void 0))))}recycleAsyncId(d,n,s=0){var l;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(d,n,s);const{actions:g}=d;null!=n&&(null===(l=g[g.length-1])||void 0===l?void 0:l.id)!==n&&(oe.cancelAnimationFrame(n),d._scheduled=void 0)}});var De=m(7398),Fe=m(7921),Ve=m(9360),He=m(8251);function Ue(){return(0,Ve.e)((o,d)=>{let n,s=!1;o.subscribe((0,He.x)(d,l=>{const g=n;n=l,s&&d.next([g,l]),s=!0}))})}var $e=m(2181),nt=m(3997),St=m(3020),be=m(9773),At=m(5177),dt=m(4829);function kt(o){let n,d=1/0;return null!=o&&("object"==typeof o?({count:d=1/0,delay:n}=o):d=o),d<=0?()=>N.E:(0,Ve.e)((s,l)=>{let T,g=0;const we=()=>{if(T?.unsubscribe(),T=null,null!=n){const ht="number"==typeof n?(0,re.H)(n):(0,dt.Xf)(n(g)),yt=(0,He.x)(l,()=>{yt.unsubscribe(),Ze()});ht.subscribe(yt)}else Ze()},Ze=()=>{let ht=!1;T=s.subscribe((0,He.x)(l,void 0,()=>{++g o<=n)}var ct=m(4716);function We(o,d){return(0,Ve.e)((n,s)=>{const{leading:l=!0,trailing:g=!1}=d??{};let T=!1,we=null,Ze=null,ht=!1;const yt=()=>{Ze?.unsubscribe(),Ze=null,g&&(Un(),ht&&s.complete())},qt=()=>{Ze=null,ht&&s.complete()},zn=cn=>Ze=(0,dt.Xf)(o(cn)).subscribe((0,He.x)(s,yt,qt)),Un=()=>{if(T){T=!1;const cn=we;we=null,s.next(cn),!ht&&zn(cn)}};n.subscribe((0,He.x)(s,cn=>{T=!0,we=cn,(!Ze||Ze.closed)&&(l?Un():zn(cn))},()=>{ht=!0,(!(g&&T&&Ze)||Ze.closed)&&s.complete()}))})}var qe=m(9397),ke=(m(3093),m(6223)),Ke=m(2787);let it;try{it=typeof Intl<"u"&&Intl.v8BreakIterator}catch{it=!1}let Wt,tn,Gt,rt=(()=>{class o{constructor(n){this._platformId=n,this.isBrowser=this._platformId?(0,F.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!it)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function rn(o){return function bn(){if(null==Wt&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Wt=!0}))}finally{Wt=Wt||!1}return Wt}()?o:!!o.capture}function an(){if(null==tn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return tn=!1,tn;if("scrollBehavior"in document.documentElement.style)tn=!0;else{const o=Element.prototype.scrollTo;tn=!!o&&!/\{\s*\[native code\]\s*\}/.test(o.toString())}}return tn}function ar(o){return o.composedPath?o.composedPath()[0]:o.target}function En(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function vo(o){return Array.isArray(o)?o:[o]}function pn(o){return null==o?"":"string"==typeof o?o:`${o}px`}function cr(o){return o instanceof e.SBq?o.nativeElement:o}class jt{constructor(d){this._items=d,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new R.x,this._typeaheadSubscription=J.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new R.x,this.change=new R.x,d instanceof e.n_E&&(this._itemChangesSubscription=d.changes.subscribe(n=>{if(this._activeItem){const l=n.toArray().indexOf(this._activeItem);l>-1&&l!==this._activeItemIndex&&(this._activeItemIndex=l)}}))}skipPredicate(d){return this._skipPredicateFn=d,this}withWrap(d=!0){return this._wrap=d,this}withVerticalOrientation(d=!0){return this._vertical=d,this}withHorizontalOrientation(d){return this._horizontal=d,this}withAllowedModifierKeys(d){return this._allowedModifierKeys=d,this}withTypeAhead(d=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,qe.b)(n=>this._pressedLetters.push(n)),(0,Be.b)(d),(0,$e.h)(()=>this._pressedLetters.length>0),(0,De.U)(()=>this._pressedLetters.join(""))).subscribe(n=>{const s=this._getItemsArray();for(let l=1;l !d[g]||this._allowedModifierKeys.indexOf(g)>-1);switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&l){this.setNextItemActive();break}return;case 38:if(this._vertical&&l){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&l){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&l){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&l){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&l){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&l){const g=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(g>0?g:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&l){const g=this._activeItemIndex+this._pageUpAndDown.delta,T=this._getItemsArray().length;this._setActiveItemByIndex(g o[n]):o.altKey||o.shiftKey||o.ctrlKey||o.metaKey}(d,"shiftKey"))&&(d.key&&1===d.key.length?this._letterKeyStream.next(d.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],d.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(d){const n=this._getItemsArray(),s="number"==typeof d?d:n.indexOf(d);this._activeItem=n[s]??null,this._activeItemIndex=s}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(d){this._wrap?this._setActiveInWrapMode(d):this._setActiveInDefaultMode(d)}_setActiveInWrapMode(d){const n=this._getItemsArray();for(let s=1;s<=n.length;s++){const l=(this._activeItemIndex+d*s+n.length)%n.length;if(!this._skipPredicateFn(n[l]))return void this.setActiveItem(l)}}_setActiveInDefaultMode(d){this._setActiveItemByIndex(this._activeItemIndex+d,d)}_setActiveItemByIndex(d,n){const s=this._getItemsArray();if(s[d]){for(;this._skipPredicateFn(s[d]);)if(!s[d+=n])return;this.setActiveItem(d)}}_getItemsArray(){return this._items instanceof e.n_E?this._items.toArray():this._items}}class Nn extends jt{setActiveItem(d){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(d),this.activeItem&&this.activeItem.setActiveStyles()}}class ci extends jt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(d){return this._origin=d,this}setActiveItem(d){super.setActiveItem(d),this.activeItem&&this.activeItem.focus(this._origin)}}let Mr=(()=>{class o{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return function jn(o){return!!(o.offsetWidth||o.offsetHeight||"function"==typeof o.getClientRects&&o.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}isTabbable(n){if(!this._platform.isBrowser)return!1;const s=function _s(o){try{return o.frameElement}catch{return null}}(function Ei(o){return o.ownerDocument&&o.ownerDocument.defaultView||window}(n));if(s&&(-1===An(s)||!this.isVisible(s)))return!1;let l=n.nodeName.toLowerCase(),g=An(n);return n.hasAttribute("contenteditable")?-1!==g:!("iframe"===l||"object"===l||this._platform.WEBKIT&&this._platform.IOS&&!function ir(o){let d=o.nodeName.toLowerCase(),n="input"===d&&o.type;return"text"===n||"password"===n||"select"===d||"textarea"===d}(n))&&("audio"===l?!!n.hasAttribute("controls")&&-1!==g:"video"===l?-1!==g&&(null!==g||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}isFocusable(n,s){return function Gr(o){return!function ts(o){return function Ls(o){return"input"==o.nodeName.toLowerCase()}(o)&&"hidden"==o.type}(o)&&(function Wi(o){let d=o.nodeName.toLowerCase();return"input"===d||"select"===d||"button"===d||"textarea"===d}(o)||function ln(o){return function ia(o){return"a"==o.nodeName.toLowerCase()}(o)&&o.hasAttribute("href")}(o)||o.hasAttribute("contenteditable")||ns(o))}(n)&&!this.isDisabled(n)&&(s?.ignoreVisibility||this.isVisible(n))}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(rt))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function ns(o){if(!o.hasAttribute("tabindex")||void 0===o.tabIndex)return!1;let d=o.getAttribute("tabindex");return!(!d||isNaN(parseInt(d,10)))}function An(o){if(!ns(o))return null;const d=parseInt(o.getAttribute("tabindex")||"",10);return isNaN(d)?-1:d}class Bs{get enabled(){return this._enabled}set enabled(d){this._enabled=d,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(d,this._startAnchor),this._toggleAnchorTabIndex(d,this._endAnchor))}constructor(d,n,s,l,g=!1){this._element=d,this._checker=n,this._ngZone=s,this._document=l,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,g||this.attachAnchors()}destroy(){const d=this._startAnchor,n=this._endAnchor;d&&(d.removeEventListener("focus",this.startAnchorListener),d.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(d){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(d)))})}focusFirstTabbableElementWhenReady(d){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(d)))})}focusLastTabbableElementWhenReady(d){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(d)))})}_getRegionBoundary(d){const n=this._element.querySelectorAll(`[cdk-focus-region-${d}], [cdkFocusRegion${d}], [cdk-focus-${d}]`);return"start"==d?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(d){const n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){const s=this._getFirstTabbableElement(n);return s?.focus(d),!!s}return n.focus(d),!0}return this.focusFirstTabbableElement(d)}focusFirstTabbableElement(d){const n=this._getRegionBoundary("start");return n&&n.focus(d),!!n}focusLastTabbableElement(d){const n=this._getRegionBoundary("end");return n&&n.focus(d),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(d){if(this._checker.isFocusable(d)&&this._checker.isTabbable(d))return d;const n=d.children;for(let s=0;s =0;s--){const l=n[s].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[s]):null;if(l)return l}return null}_createAnchor(){const d=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,d),d.classList.add("cdk-visually-hidden"),d.classList.add("cdk-focus-trap-anchor"),d.setAttribute("aria-hidden","true"),d}_toggleAnchorTabIndex(d,n){d?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(d){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(d,this._startAnchor),this._toggleAnchorTabIndex(d,this._endAnchor))}_executeOnStable(d){this._ngZone.isStable?d():this._ngZone.onStable.pipe((0,Xe.q)(1)).subscribe(d)}}let No=(()=>{class o{constructor(n,s,l){this._checker=n,this._ngZone=s,this._document=l}create(n,s=!1){return new Bs(n,this._checker,this._ngZone,this._document,s)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Mr),e.LFG(e.R0b),e.LFG(F.K0))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const Js=new e.OlP("cdk-input-modality-detector-options"),ri={ignoreKeys:[18,17,224,91,16]},Kn=rn({passive:!0,capture:!0});let Ci=(()=>{class o{get mostRecentModality(){return this._modality.value}constructor(n,s,l,g){this._platform=n,this._mostRecentTarget=null,this._modality=new V.X(null),this._lastTouchMs=0,this._onKeydown=T=>{this._options?.ignoreKeys?.some(we=>we===T.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ar(T))},this._onMousedown=T=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function ur(o){return 0===o.buttons||0===o.detail}(T)?"keyboard":"mouse"),this._mostRecentTarget=ar(T))},this._onTouchstart=T=>{!function Hs(o){const d=o.touches&&o.touches[0]||o.changedTouches&&o.changedTouches[0];return!(!d||-1!==d.identifier||null!=d.radiusX&&1!==d.radiusX||null!=d.radiusY&&1!==d.radiusY)}(T)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ar(T)):this._modality.next("keyboard")},this._options={...ri,...g},this.modalityDetected=this._modality.pipe(Oe(1)),this.modalityChanged=this.modalityDetected.pipe((0,nt.x)()),n.isBrowser&&s.runOutsideAngular(()=>{l.addEventListener("keydown",this._onKeydown,Kn),l.addEventListener("mousedown",this._onMousedown,Kn),l.addEventListener("touchstart",this._onTouchstart,Kn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Kn),document.removeEventListener("mousedown",this._onMousedown,Kn),document.removeEventListener("touchstart",this._onTouchstart,Kn))}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(rt),e.LFG(e.R0b),e.LFG(F.K0),e.LFG(Js,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Ro=function(o){return o[o.IMMEDIATE=0]="IMMEDIATE",o[o.EVENTUAL=1]="EVENTUAL",o}(Ro||{});const ko=new e.OlP("cdk-focus-monitor-default-options"),Co=rn({passive:!0,capture:!0});let Fa=(()=>{class o{constructor(n,s,l,g,T){this._ngZone=n,this._platform=s,this._inputModalityDetector=l,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R.x,this._rootNodeFocusAndBlurListener=we=>{for(let ht=ar(we);ht;ht=ht.parentElement)"focus"===we.type?this._onFocus(we,ht):this._onBlur(we,ht)},this._document=g,this._detectionMode=T?.detectionMode||Ro.IMMEDIATE}monitor(n,s=!1){const l=cr(n);if(!this._platform.isBrowser||1!==l.nodeType)return(0,q.of)();const g=function On(o){if(function oi(){if(null==Gt){const o=typeof document<"u"?document.head:null;Gt=!(!o||!o.createShadowRoot&&!o.attachShadow)}return Gt}()){const d=o.getRootNode?o.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&d instanceof ShadowRoot)return d}return null}(l)||this._getDocument(),T=this._elementInfo.get(l);if(T)return s&&(T.checkChildren=!0),T.subject;const we={checkChildren:s,subject:new R.x,rootNode:g};return this._elementInfo.set(l,we),this._registerGlobalListeners(we),we.subject}stopMonitoring(n){const s=cr(n),l=this._elementInfo.get(s);l&&(l.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(l))}focusVia(n,s,l){const g=cr(n);g===this._getDocument().activeElement?this._getClosestElementsInfo(g).forEach(([we,Ze])=>this._originChanged(we,s,Ze)):(this._setOrigin(s),"function"==typeof g.focus&&g.focus(l))}ngOnDestroy(){this._elementInfo.forEach((n,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Ro.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,s){n.classList.toggle("cdk-focused",!!s),n.classList.toggle("cdk-touch-focused","touch"===s),n.classList.toggle("cdk-keyboard-focused","keyboard"===s),n.classList.toggle("cdk-mouse-focused","mouse"===s),n.classList.toggle("cdk-program-focused","program"===s)}_setOrigin(n,s=!1){this._ngZone.runOutsideAngular(()=>{this._origin=n,this._originFromTouchInteraction="touch"===n&&s,this._detectionMode===Ro.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(n,s){const l=this._elementInfo.get(s),g=ar(n);!l||!l.checkChildren&&s!==g||this._originChanged(s,this._getFocusOrigin(g),l)}_onBlur(n,s){const l=this._elementInfo.get(s);!l||l.checkChildren&&n.relatedTarget instanceof Node&&s.contains(n.relatedTarget)||(this._setClasses(s),this._emitOrigin(l,null))}_emitOrigin(n,s){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(s))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;const s=n.rootNode,l=this._rootNodeFocusListenerCount.get(s)||0;l||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,Co),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,Co)}),this._rootNodeFocusListenerCount.set(s,l+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,be.R)(this._stopInputModalityDetector)).subscribe(g=>{this._setOrigin(g,!0)}))}_removeGlobalListeners(n){const s=n.rootNode;if(this._rootNodeFocusListenerCount.has(s)){const l=this._rootNodeFocusListenerCount.get(s);l>1?this._rootNodeFocusListenerCount.set(s,l-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Co),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Co),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,s,l){this._setClasses(n,s),this._emitOrigin(l,s),this._lastFocusOrigin=s}_getClosestElementsInfo(n){const s=[];return this._elementInfo.forEach((l,g)=>{(g===n||l.checkChildren&&g.contains(n))&&s.push([g,l])}),s}_isLastInteractionFromInputLabel(n){const{_mostRecentTarget:s,mostRecentModality:l}=this._inputModalityDetector;if("mouse"!==l||!s||s===n||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||n.disabled)return!1;const g=n.labels;if(g)for(let T=0;T {const we=T.element,Ze=this._document.createComment("dom-portal");we.parentNode.insertBefore(Ze,we),this.outletElement.appendChild(we),this._attachedPortal=T,super.setDisposeFn(()=>{Ze.parentNode&&Ze.parentNode.replaceChild(we,Ze)})},this._document=g}attachComponentPortal(d){const s=(d.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(d.component);let l;return d.viewContainerRef?(l=d.viewContainerRef.createComponent(s,d.viewContainerRef.length,d.injector||d.viewContainerRef.injector,d.projectableNodes||void 0),this.setDisposeFn(()=>l.destroy())):(l=s.create(d.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(l.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(l.hostView),l.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(l)),this._attachedPortal=d,l}attachTemplatePortal(d){let n=d.viewContainerRef,s=n.createEmbeddedView(d.templateRef,d.context,{injector:d.injector});return s.rootNodes.forEach(l=>this.outletElement.appendChild(l)),s.detectChanges(),this.setDisposeFn(()=>{let l=n.indexOf(s);-1!==l&&n.remove(l)}),this._attachedPortal=d,s}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(d){return d.hostView.rootNodes[0]}}let Nr=(()=>{class o extends Qn{constructor(n,s){super(n,s)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.Rgc),e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[e.qOj]})}return o})(),Ir=(()=>{class o extends bi{constructor(n,s,l){super(),this._componentFactoryResolver=n,this._viewContainerRef=s,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=g=>{const T=g.element,we=this._document.createComment("dom-portal");g.setAttachedHost(this),T.parentNode.insertBefore(we,T),this._getRootNode().appendChild(T),this._attachedPortal=g,super.setDisposeFn(()=>{we.parentNode&&we.parentNode.replaceChild(T,we)})},this._document=l}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);const s=null!=n.viewContainerRef?n.viewContainerRef:this._viewContainerRef,g=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),T=s.createComponent(g,s.length,n.injector||s.injector,n.projectableNodes||void 0);return s!==this._viewContainerRef&&this._getRootNode().appendChild(T.hostView.rootNodes[0]),super.setDisposeFn(()=>T.destroy()),this._attachedPortal=n,this._attachedRef=T,this.attached.emit(T),T}attachTemplatePortal(n){n.setAttachedHost(this);const s=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=s,this.attached.emit(s),s}_getRootNode(){const n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(F.K0))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[e.lbL.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[e.qOj]})}return o})(),Fr=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})();class dl{constructor(d,n){this._parentInjector=d,this._customTokens=n}get(d,n){const s=this._customTokens.get(d);return typeof s<"u"?s:this._parentInjector.get(d,n)}}let oa,ka=1;const rs={};function aa(o){return o in rs&&(delete rs[o],!0)}const hr={setImmediate(o){const d=ka++;return rs[d]=!0,oa||(oa=Promise.resolve()),oa.then(()=>aa(d)&&o()),d},clearImmediate(o){aa(o)}},{setImmediate:Mo,clearImmediate:rr}=hr,la={setImmediate(...o){const{delegate:d}=la;return(d?.setImmediate||Mo)(...o)},clearImmediate(o){const{delegate:d}=la;return(d?.clearImmediate||rr)(o)},delegate:void 0};new class Hn extends Re.v{flush(d){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let l;d=d||s.shift();do{if(l=d.execute(d.state,d.delay))break}while((d=s[0])&&d.id===n&&s.shift());if(this._active=!1,l){for(;(d=s[0])&&d.id===n&&s.shift();)d.unsubscribe();throw l}}}(class ic extends se.o{constructor(d,n){super(d,n),this.scheduler=d,this.work=n}requestAsyncId(d,n,s=0){return null!==s&&s>0?super.requestAsyncId(d,n,s):(d.actions.push(this),d._scheduled||(d._scheduled=la.setImmediate(d.flush.bind(d,void 0))))}recycleAsyncId(d,n,s=0){var l;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(d,n,s);const{actions:g}=d;null!=n&&(null===(l=g[g.length-1])||void 0===l?void 0:l.id)!==n&&(la.clearImmediate(n),d._scheduled===n&&(d._scheduled=void 0))}});var Ti=m(6321);function wo(o,d=Ti.z){return function rc(o){return(0,Ve.e)((d,n)=>{let s=!1,l=null,g=null,T=!1;const we=()=>{if(g?.unsubscribe(),g=null,s){s=!1;const ht=l;l=null,n.next(ht)}T&&n.complete()},Ze=()=>{g=null,T&&n.complete()};d.subscribe((0,He.x)(n,ht=>{s=!0,l=ht,g||(0,dt.Xf)(o(ht)).subscribe(g=(0,He.x)(n,we,Ze))},()=>{T=!0,(!s||!g||g.closed)&&n.complete()}))})}(()=>(0,re.H)(o,d))}const So=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function sr(){return(0,e.f3M)(F.K0)}}),pl=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ca=(()=>{class o{constructor(n){this.value="ltr",this.change=new e.vpe,n&&(this.value=function Ba(o){const d=o?.toLowerCase()||"";return"auto"===d&&typeof navigator<"u"&&navigator?.language?pl.test(navigator.language)?"rtl":"ltr":"rtl"===d?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(So,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),ua=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})(),ss=(()=>{class o{constructor(n,s,l){this._ngZone=n,this._platform=s,this._scrolled=new R.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=l}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const s=this.scrollContainers.get(n);s&&(s.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new Q.y(s=>{this._globalSubscription||this._addGlobalListener();const l=n>0?this._scrolled.pipe(wo(n)).subscribe(s):this._scrolled.subscribe(s);return this._scrolledCount++,()=>{l.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,q.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,s)=>this.deregister(s)),this._scrolled.complete()}ancestorScrolled(n,s){const l=this.getAncestorScrollContainers(n);return this.scrolled(s).pipe((0,$e.h)(g=>!g||l.indexOf(g)>-1))}getAncestorScrollContainers(n){const s=[];return this.scrollContainers.forEach((l,g)=>{this._scrollableContainsElement(g,n)&&s.push(g)}),s}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,s){let l=cr(s),g=n.getElementRef().nativeElement;do{if(l==g)return!0}while(l=l.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const n=this._getWindow();return(0,ie.R)(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(e.R0b),e.LFG(rt),e.LFG(F.K0,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),pt=(()=>{class o{constructor(n,s,l){this._platform=n,this._change=new R.x,this._changeListener=g=>{this._change.next(g)},this._document=l,s.runOutsideAngular(()=>{if(n.isBrowser){const g=this._getWindow();g.addEventListener("resize",this._changeListener),g.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:s,height:l}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+l,right:n.left+s,height:l,width:s}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,s=this._getWindow(),l=n.documentElement,g=l.getBoundingClientRect();return{top:-g.top||n.body.scrollTop||s.scrollY||l.scrollTop||0,left:-g.left||n.body.scrollLeft||s.scrollX||l.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(wo(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(rt),e.LFG(e.R0b),e.LFG(F.K0,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),ml=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})(),ut=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[ua,ml,ua,ml]})}return o})();const Tn=an();class _l{constructor(d,n){this._viewportRuler=d,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const d=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=d.style.left||"",this._previousHTMLStyles.top=d.style.top||"",d.style.left=pn(-this._previousScrollPosition.left),d.style.top=pn(-this._previousScrollPosition.top),d.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const d=this._document.documentElement,s=d.style,l=this._document.body.style,g=s.scrollBehavior||"",T=l.scrollBehavior||"";this._isEnabled=!1,s.left=this._previousHTMLStyles.left,s.top=this._previousHTMLStyles.top,d.classList.remove("cdk-global-scrollblock"),Tn&&(s.scrollBehavior=l.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Tn&&(s.scrollBehavior=g,l.scrollBehavior=T)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,s=this._viewportRuler.getViewportSize();return n.scrollHeight>s.height||n.scrollWidth>s.width}}class y{constructor(d,n,s,l){this._scrollDispatcher=d,this._ngZone=n,this._viewportRuler=s,this._config=l,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(d){this._overlayRef=d}enable(){if(this._scrollSubscription)return;const d=this._scrollDispatcher.scrolled(0).pipe((0,$e.h)(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=d.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=d.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class p{enable(){}disable(){}attach(){}}function C(o,d){return d.some(n=>o.bottom n.bottom||o.right n.right)}function O(o,d){return d.some(n=>o.top n.bottom||o.left n.right)}class Y{constructor(d,n,s,l){this._scrollDispatcher=d,this._viewportRuler=n,this._ngZone=s,this._config=l,this._scrollSubscription=null}attach(d){this._overlayRef=d}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:s,height:l}=this._viewportRuler.getViewportSize();C(n,[{width:s,height:l,bottom:l,right:s,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let ce=(()=>{class o{constructor(n,s,l,g){this._scrollDispatcher=n,this._viewportRuler=s,this._ngZone=l,this.noop=()=>new p,this.close=T=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,T),this.block=()=>new _l(this._viewportRuler,this._document),this.reposition=T=>new Y(this._scrollDispatcher,this._viewportRuler,this._ngZone,T),this._document=g}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(ss),e.LFG(pt),e.LFG(e.R0b),e.LFG(F.K0))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();class ge{constructor(d){if(this.scrollStrategy=new p,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,d){const n=Object.keys(d);for(const s of n)void 0!==d[s]&&(this[s]=d[s])}}}class M{constructor(d,n){this.connectionPair=d,this.scrollableViewProperties=n}}let I=(()=>{class o{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const s=this._attachedOverlays.indexOf(n);s>-1&&this._attachedOverlays.splice(s,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(F.K0))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),W=(()=>{class o extends I{constructor(n,s){super(n),this._ngZone=s,this._keydownListener=l=>{const g=this._attachedOverlays;for(let T=g.length-1;T>-1;T--)if(g[T]._keydownEvents.observers.length>0){const we=g[T]._keydownEvents;this._ngZone?this._ngZone.run(()=>we.next(l)):we.next(l);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(F.K0),e.LFG(e.R0b,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),ue=(()=>{class o extends I{constructor(n,s,l){super(n),this._platform=s,this._ngZone=l,this._cursorStyleIsSet=!1,this._pointerDownListener=g=>{this._pointerDownEventTarget=ar(g)},this._clickListener=g=>{const T=ar(g),we="click"===g.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:T;this._pointerDownEventTarget=null;const Ze=this._attachedOverlays.slice();for(let ht=Ze.length-1;ht>-1;ht--){const yt=Ze[ht];if(yt._outsidePointerEvents.observers.length<1||!yt.hasAttached())continue;if(yt.overlayElement.contains(T)||yt.overlayElement.contains(we))break;const qt=yt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>qt.next(g)):qt.next(g)}}}add(n){if(super.add(n),!this._isAttached){const s=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(s)):this._addEventListeners(s),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=s.style.cursor,s.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(F.K0),e.LFG(rt),e.LFG(e.R0b,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Ge=(()=>{class o{constructor(n,s){this._platform=s,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||En()){const l=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let g=0;g this._backdropClick.next(qt),this._backdropTransitionendHandler=qt=>{this._disposeBackdrop(qt.target)},this._keydownEvents=new R.x,this._outsidePointerEvents=new R.x,l.scrollStrategy&&(this._scrollStrategy=l.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=l.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(d){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(d);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Xe.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const d=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),d}dispose(){const d=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,d&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(d){d!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=d,this.hasAttached()&&(d.attach(this),this.updatePosition()))}updateSize(d){this._config={...this._config,...d},this._updateElementSize()}setDirection(d){this._config={...this._config,direction:d},this._updateElementDirection()}addPanelClass(d){this._pane&&this._toggleClasses(this._pane,d,!0)}removePanelClass(d){this._pane&&this._toggleClasses(this._pane,d,!1)}getDirection(){const d=this._config.direction;return d?"string"==typeof d?d:d.value:"ltr"}updateScrollStrategy(d){d!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=d,this.hasAttached()&&(d.attach(this),d.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const d=this._pane.style;d.width=pn(this._config.width),d.height=pn(this._config.height),d.minWidth=pn(this._config.minWidth),d.minHeight=pn(this._config.minHeight),d.maxWidth=pn(this._config.maxWidth),d.maxHeight=pn(this._config.maxHeight)}_togglePointerEvents(d){this._pane.style.pointerEvents=d?"":"none"}_attachBackdrop(){const d="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(d)})}):this._backdropElement.classList.add(d)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const d=this._backdropElement;if(d){if(this._animationsDisabled)return void this._disposeBackdrop(d);d.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{d.addEventListener("transitionend",this._backdropTransitionendHandler)}),d.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(d)},500))}}_toggleClasses(d,n,s){const l=vo(n||[]).filter(g=>!!g);l.length&&(s?d.classList.add(...l):d.classList.remove(...l))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const d=this._ngZone.onStable.pipe((0,be.R)((0,P.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),d.unsubscribe())})})}_disposeScrollStrategy(){const d=this._scrollStrategy;d&&(d.disable(),d.detach&&d.detach())}_disposeBackdrop(d){d&&(d.removeEventListener("click",this._backdropClickHandler),d.removeEventListener("transitionend",this._backdropTransitionendHandler),d.remove(),this._backdropElement===d&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Dt="cdk-overlay-connected-position-bounding-box",Jt=/([A-Za-z%]+)$/;class Xt{get positions(){return this._preferredPositions}constructor(d,n,s,l,g){this._viewportRuler=n,this._document=s,this._platform=l,this._overlayContainer=g,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R.x,this._resizeSubscription=J.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(d)}attach(d){this._validatePositions(),d.hostElement.classList.add(Dt),this._overlayRef=d,this._boundingBox=d.hostElement,this._pane=d.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const d=this._originRect,n=this._overlayRect,s=this._viewportRect,l=this._containerRect,g=[];let T;for(let we of this._preferredPositions){let Ze=this._getOriginPoint(d,l,we),ht=this._getOverlayPoint(Ze,n,we),yt=this._getOverlayFit(ht,n,s,we);if(yt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(we,Ze);this._canFitWithFlexibleDimensions(yt,ht,s)?g.push({position:we,origin:Ze,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(Ze,we)}):(!T||T.overlayFit.visibleArea Ze&&(Ze=yt,we=ht)}return this._isPushed=!1,void this._applyPosition(we.position,we.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(T.position,T.originPoint);this._applyPosition(T.position,T.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&kn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Dt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const d=this._lastPosition;if(d){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,d);this._applyPosition(d,n)}else this.apply()}withScrollableContainers(d){return this._scrollables=d,this}withPositions(d){return this._preferredPositions=d,-1===d.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(d){return this._viewportMargin=d,this}withFlexibleDimensions(d=!0){return this._hasFlexibleDimensions=d,this}withGrowAfterOpen(d=!0){return this._growAfterOpen=d,this}withPush(d=!0){return this._canPush=d,this}withLockedPosition(d=!0){return this._positionLocked=d,this}setOrigin(d){return this._origin=d,this}withDefaultOffsetX(d){return this._offsetX=d,this}withDefaultOffsetY(d){return this._offsetY=d,this}withTransformOriginOn(d){return this._transformOriginSelector=d,this}_getOriginPoint(d,n,s){let l,g;if("center"==s.originX)l=d.left+d.width/2;else{const T=this._isRtl()?d.right:d.left,we=this._isRtl()?d.left:d.right;l="start"==s.originX?T:we}return n.left<0&&(l-=n.left),g="center"==s.originY?d.top+d.height/2:"top"==s.originY?d.top:d.bottom,n.top<0&&(g-=n.top),{x:l,y:g}}_getOverlayPoint(d,n,s){let l,g;return l="center"==s.overlayX?-n.width/2:"start"===s.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,g="center"==s.overlayY?-n.height/2:"top"==s.overlayY?0:-n.height,{x:d.x+l,y:d.y+g}}_getOverlayFit(d,n,s,l){const g=Mi(n);let{x:T,y:we}=d,Ze=this._getOffset(l,"x"),ht=this._getOffset(l,"y");Ze&&(T+=Ze),ht&&(we+=ht);let zn=0-we,Un=we+g.height-s.height,cn=this._subtractOverflows(g.width,0-T,T+g.width-s.width),Oi=this._subtractOverflows(g.height,zn,Un),Dr=cn*Oi;return{visibleArea:Dr,isCompletelyWithinViewport:g.width*g.height===Dr,fitsInViewportVertically:Oi===g.height,fitsInViewportHorizontally:cn==g.width}}_canFitWithFlexibleDimensions(d,n,s){if(this._hasFlexibleDimensions){const l=s.bottom-n.y,g=s.right-n.x,T=Li(this._overlayRef.getConfig().minHeight),we=Li(this._overlayRef.getConfig().minWidth);return(d.fitsInViewportVertically||null!=T&&T<=l)&&(d.fitsInViewportHorizontally||null!=we&&we<=g)}return!1}_pushOverlayOnScreen(d,n,s){if(this._previousPushAmount&&this._positionLocked)return{x:d.x+this._previousPushAmount.x,y:d.y+this._previousPushAmount.y};const l=Mi(n),g=this._viewportRect,T=Math.max(d.x+l.width-g.width,0),we=Math.max(d.y+l.height-g.height,0),Ze=Math.max(g.top-s.top-d.y,0),ht=Math.max(g.left-s.left-d.x,0);let yt=0,qt=0;return yt=l.width<=g.width?ht||-T:d.x cn&&!this._isInitialRender&&!this._growAfterOpen&&(T=d.y-cn/2)}if("end"===n.overlayX&&!l||"start"===n.overlayX&&l)zn=s.width-d.x+this._viewportMargin,yt=d.x-this._viewportMargin;else if("start"===n.overlayX&&!l||"end"===n.overlayX&&l)qt=d.x,yt=s.right-d.x;else{const Un=Math.min(s.right-d.x+s.left,d.x),cn=this._lastBoundingBoxSize.width;yt=2*Un,qt=d.x-Un,yt>cn&&!this._isInitialRender&&!this._growAfterOpen&&(qt=d.x-cn/2)}return{top:T,left:qt,bottom:we,right:zn,width:yt,height:g}}_setBoundingBoxStyles(d,n){const s=this._calculateBoundingBoxRect(d,n);!this._isInitialRender&&!this._growAfterOpen&&(s.height=Math.min(s.height,this._lastBoundingBoxSize.height),s.width=Math.min(s.width,this._lastBoundingBoxSize.width));const l={};if(this._hasExactPosition())l.top=l.left="0",l.bottom=l.right=l.maxHeight=l.maxWidth="",l.width=l.height="100%";else{const g=this._overlayRef.getConfig().maxHeight,T=this._overlayRef.getConfig().maxWidth;l.height=pn(s.height),l.top=pn(s.top),l.bottom=pn(s.bottom),l.width=pn(s.width),l.left=pn(s.left),l.right=pn(s.right),l.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",l.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",g&&(l.maxHeight=pn(g)),T&&(l.maxWidth=pn(T))}this._lastBoundingBoxSize=s,kn(this._boundingBox.style,l)}_resetBoundingBoxStyles(){kn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){kn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(d,n){const s={},l=this._hasExactPosition(),g=this._hasFlexibleDimensions,T=this._overlayRef.getConfig();if(l){const yt=this._viewportRuler.getViewportScrollPosition();kn(s,this._getExactOverlayY(n,d,yt)),kn(s,this._getExactOverlayX(n,d,yt))}else s.position="static";let we="",Ze=this._getOffset(n,"x"),ht=this._getOffset(n,"y");Ze&&(we+=`translateX(${Ze}px) `),ht&&(we+=`translateY(${ht}px)`),s.transform=we.trim(),T.maxHeight&&(l?s.maxHeight=pn(T.maxHeight):g&&(s.maxHeight="")),T.maxWidth&&(l?s.maxWidth=pn(T.maxWidth):g&&(s.maxWidth="")),kn(this._pane.style,s)}_getExactOverlayY(d,n,s){let l={top:"",bottom:""},g=this._getOverlayPoint(n,this._overlayRect,d);return this._isPushed&&(g=this._pushOverlayOnScreen(g,this._overlayRect,s)),"bottom"===d.overlayY?l.bottom=this._document.documentElement.clientHeight-(g.y+this._overlayRect.height)+"px":l.top=pn(g.y),l}_getExactOverlayX(d,n,s){let T,l={left:"",right:""},g=this._getOverlayPoint(n,this._overlayRect,d);return this._isPushed&&(g=this._pushOverlayOnScreen(g,this._overlayRect,s)),T=this._isRtl()?"end"===d.overlayX?"left":"right":"end"===d.overlayX?"right":"left","right"===T?l.right=this._document.documentElement.clientWidth-(g.x+this._overlayRect.width)+"px":l.left=pn(g.x),l}_getScrollVisibility(){const d=this._getOriginRect(),n=this._pane.getBoundingClientRect(),s=this._scrollables.map(l=>l.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:O(d,s),isOriginOutsideView:C(d,s),isOverlayClipped:O(n,s),isOverlayOutsideView:C(n,s)}}_subtractOverflows(d,...n){return n.reduce((s,l)=>s-Math.max(l,0),d)}_getNarrowedViewportRect(){const d=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,s=this._viewportRuler.getViewportScrollPosition();return{top:s.top+this._viewportMargin,left:s.left+this._viewportMargin,right:s.left+d-this._viewportMargin,bottom:s.top+n-this._viewportMargin,width:d-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(d,n){return"x"===n?null==d.offsetX?this._offsetX:d.offsetX:null==d.offsetY?this._offsetY:d.offsetY}_validatePositions(){}_addPanelClasses(d){this._pane&&vo(d).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(d=>{this._pane.classList.remove(d)}),this._appliedPanelClasses=[])}_getOriginRect(){const d=this._origin;if(d instanceof e.SBq)return d.nativeElement.getBoundingClientRect();if(d instanceof Element)return d.getBoundingClientRect();const n=d.width||0,s=d.height||0;return{top:d.y,bottom:d.y+s,left:d.x,right:d.x+n,height:s,width:n}}}function kn(o,d){for(let n in d)d.hasOwnProperty(n)&&(o[n]=d[n]);return o}function Li(o){if("number"!=typeof o&&null!=o){const[d,n]=o.split(Jt);return n&&"px"!==n?null:parseFloat(d)}return o||null}function Mi(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}const pr="cdk-global-overlay-wrapper";class vl{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(d){const n=d.getConfig();this._overlayRef=d,this._width&&!n.width&&d.updateSize({width:this._width}),this._height&&!n.height&&d.updateSize({height:this._height}),d.hostElement.classList.add(pr),this._isDisposed=!1}top(d=""){return this._bottomOffset="",this._topOffset=d,this._alignItems="flex-start",this}left(d=""){return this._xOffset=d,this._xPosition="left",this}bottom(d=""){return this._topOffset="",this._bottomOffset=d,this._alignItems="flex-end",this}right(d=""){return this._xOffset=d,this._xPosition="right",this}start(d=""){return this._xOffset=d,this._xPosition="start",this}end(d=""){return this._xOffset=d,this._xPosition="end",this}width(d=""){return this._overlayRef?this._overlayRef.updateSize({width:d}):this._width=d,this}height(d=""){return this._overlayRef?this._overlayRef.updateSize({height:d}):this._height=d,this}centerHorizontally(d=""){return this.left(d),this._xPosition="center",this}centerVertically(d=""){return this.top(d),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const d=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,s=this._overlayRef.getConfig(),{width:l,height:g,maxWidth:T,maxHeight:we}=s,Ze=!("100%"!==l&&"100vw"!==l||T&&"100%"!==T&&"100vw"!==T),ht=!("100%"!==g&&"100vh"!==g||we&&"100%"!==we&&"100vh"!==we),yt=this._xPosition,qt=this._xOffset,zn="rtl"===this._overlayRef.getConfig().direction;let Un="",cn="",Oi="";Ze?Oi="flex-start":"center"===yt?(Oi="center",zn?cn=qt:Un=qt):zn?"left"===yt||"end"===yt?(Oi="flex-end",Un=qt):("right"===yt||"start"===yt)&&(Oi="flex-start",cn=qt):"left"===yt||"start"===yt?(Oi="flex-start",Un=qt):("right"===yt||"end"===yt)&&(Oi="flex-end",cn=qt),d.position=this._cssPosition,d.marginLeft=Ze?"0":Un,d.marginTop=ht?"0":this._topOffset,d.marginBottom=this._bottomOffset,d.marginRight=Ze?"0":cn,n.justifyContent=Oi,n.alignItems=ht?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const d=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,s=n.style;n.classList.remove(pr),s.justifyContent=s.alignItems=d.marginTop=d.marginBottom=d.marginLeft=d.marginRight=d.position="",this._overlayRef=null,this._isDisposed=!0}}let Xs=(()=>{class o{constructor(n,s,l,g){this._viewportRuler=n,this._document=s,this._platform=l,this._overlayContainer=g}global(){return new vl}flexibleConnectedTo(n){return new Xt(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(pt),e.LFG(F.K0),e.LFG(rt),e.LFG(Ge))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),yl=0,zo=(()=>{class o{constructor(n,s,l,g,T,we,Ze,ht,yt,qt,zn,Un){this.scrollStrategies=n,this._overlayContainer=s,this._componentFactoryResolver=l,this._positionBuilder=g,this._keyboardDispatcher=T,this._injector=we,this._ngZone=Ze,this._document=ht,this._directionality=yt,this._location=qt,this._outsideClickDispatcher=zn,this._animationsModuleType=Un}create(n){const s=this._createHostElement(),l=this._createPaneElement(s),g=this._createPortalOutlet(l),T=new ge(n);return T.direction=T.direction||this._directionality.value,new je(g,s,l,T,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(n){const s=this._document.createElement("div");return s.id="cdk-overlay-"+yl++,s.classList.add("cdk-overlay-pane"),n.appendChild(s),s}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(e.z2F)),new ui(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(ce),e.LFG(Ge),e.LFG(e._Vd),e.LFG(Xs),e.LFG(W),e.LFG(e.zs3),e.LFG(e.R0b),e.LFG(F.K0),e.LFG(ca),e.LFG(F.Ye),e.LFG(ue),e.LFG(e.QbO,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const Yi={provide:new e.OlP("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const o=(0,e.f3M)(zo);return()=>o.scrollStrategies.reposition()}}),deps:[zo],useFactory:function Ln(o){return()=>o.scrollStrategies.reposition()}};let as=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({providers:[zo,Yi],imports:[ua,Fr,ut,ut]})}return o})();var Rr=m(6593),Bt=m(6825);function or(o,d){if(1&o&&(e.TgZ(0,"div",2),e._uU(1),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Oqu(n.content)}}function cp(o,d){}m(3168),m(2664);const wi=["*"],Tg=[[["nb-card-header"]],[["nb-card-body"]],"*",[["nb-card-footer"]]],cs=["nb-card-header","nb-card-body","*","nb-card-footer"],Wd=[[["nb-card-front"]],[["nb-card-back"]]],_c=["nb-card-front","nb-card-back"];function du(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"a",4),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.toggle())}),e._UZ(1,"nb-icon",5),e.qZA()}}function Yd(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"a",4),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.toggle())}),e._UZ(1,"nb-icon",5),e.qZA()}}const Og=[[["nb-card"]]],Zd=["nb-card"],Sv=["nbButton",""],Jd=[[["nb-list-item"]]],hu=["nb-list-item"],Iv=["layoutTopDynamicArea"],kg=["scrollableContainer"],Lg=["layoutContainer"],Bg=[[["nb-layout-header",3,"subheader",""]],[["nb-sidebar"]],[["nb-layout-header","subheader",""]],[["nb-layout-column"]],[["nb-layout-footer"]]],ja=["nb-layout-header:not([subheader])","nb-sidebar","nb-layout-header[subheader]","nb-layout-column","nb-layout-footer"],pp=["nbMenuItem",""];function Xd(o,d){if(1&o&&e._UZ(0,"nb-icon",7),2&o){const n=e.oxw(2);e.Q6J("config",n.menuItem.icon)}}function mu(o,d){if(1&o&&(e.TgZ(0,"span"),e.YNc(1,Xd,1,1,"nb-icon",6),e._uU(2),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Q6J("ngIf",n.menuItem.icon),e.xp6(),e.hij(" ",n.menuItem.title,"\n")}}function _u(o,d){if(1&o&&e._UZ(0,"nb-icon",7),2&o){const n=e.oxw(2);e.Q6J("config",n.menuItem.icon)}}function fp(o,d){if(1&o&&e.GkF(0,11),2&o){e.oxw(2);const n=e.MAs(7);e.Q6J("ngTemplateOutlet",n)}}function gp(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"a",8),e.NdJ("mouseenter",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onHoverItem(l.menuItem))})("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onItemClick(l.menuItem))}),e.YNc(1,_u,1,1,"nb-icon",6),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,fp,1,1,"ng-container",10),e.qZA()}if(2&o){const n=e.oxw();e.ekj("active",n.menuItem.selected),e.Q6J("routerLink",n.menuItem.link)("queryParams",n.menuItem.queryParams)("fragment",n.menuItem.fragment)("queryParamsHandling",n.menuItem.queryParamsHandling)("preserveFragment",n.menuItem.preserveFragment)("skipLocationChange",n.menuItem.skipLocationChange),e.uIk("target",n.menuItem.target)("title",n.menuItem.title)("role",n.menuItem.ariaRole),e.xp6(),e.Q6J("ngIf",n.menuItem.icon),e.xp6(2),e.Oqu(n.menuItem.title),e.xp6(),e.Q6J("ngIf",n.badge)}}function mp(o,d){if(1&o&&e._UZ(0,"nb-icon",7),2&o){const n=e.oxw(2);e.Q6J("config",n.menuItem.icon)}}function vu(o,d){if(1&o&&e.GkF(0,11),2&o){e.oxw(2);const n=e.MAs(7);e.Q6J("ngTemplateOutlet",n)}}function Fv(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"a",12),e.NdJ("mouseenter",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onHoverItem(l.menuItem))})("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onSelectItem(l.menuItem))}),e.YNc(1,mp,1,1,"nb-icon",6),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,vu,1,1,"ng-container",10),e.qZA()}if(2&o){const n=e.oxw();e.ekj("active",n.menuItem.selected),e.uIk("href",n.menuItem.url,e.LSH)("target",n.menuItem.target)("title",n.menuItem.title)("role",n.menuItem.ariaRole),e.xp6(),e.Q6J("ngIf",n.menuItem.icon),e.xp6(2),e.Oqu(n.menuItem.title),e.xp6(),e.Q6J("ngIf",n.badge)}}function eh(o,d){if(1&o&&e._UZ(0,"nb-icon",7),2&o){const n=e.oxw(2);e.Q6J("config",n.menuItem.icon)}}function zg(o,d){if(1&o&&e.GkF(0,11),2&o){e.oxw(2);const n=e.MAs(7);e.Q6J("ngTemplateOutlet",n)}}function th(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"a",12),e.NdJ("mouseenter",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onHoverItem(l.menuItem))})("click",function(l){e.CHM(n);const g=e.oxw();return l.preventDefault(),e.KtG(g.onItemClick(g.menuItem))}),e.YNc(1,eh,1,1,"nb-icon",6),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,zg,1,1,"ng-container",10),e.qZA()}if(2&o){const n=e.oxw();e.ekj("active",n.menuItem.selected),e.uIk("target",n.menuItem.target)("title",n.menuItem.title)("role",n.menuItem.ariaRole),e.xp6(),e.Q6J("ngIf",n.menuItem.icon),e.xp6(2),e.Oqu(n.menuItem.title),e.xp6(),e.Q6J("ngIf",n.badge)}}function _p(o,d){if(1&o&&e._UZ(0,"nb-icon",7),2&o){const n=e.oxw(2);e.Q6J("config",n.menuItem.icon)}}function vp(o,d){if(1&o&&e.GkF(0,11),2&o){e.oxw(2);const n=e.MAs(7);e.Q6J("ngTemplateOutlet",n)}}function Ga(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"a",13),e.NdJ("click",function(l){e.CHM(n);const g=e.oxw();return l.preventDefault(),e.KtG(g.onToggleSubMenu(g.menuItem))})("mouseenter",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onHoverItem(l.menuItem))}),e.YNc(1,_p,1,1,"nb-icon",6),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,vp,1,1,"ng-container",10),e._UZ(5,"nb-icon",14),e.qZA()}if(2&o){const n=e.oxw();let s;e.ekj("active",n.menuItem.selected),e.uIk("target",n.menuItem.target)("title",n.menuItem.title)("aria-expanded",null!==(s=n.menuItem.expanded)&&void 0!==s&&s)("role",n.menuItem.ariaRole),e.xp6(),e.Q6J("ngIf",n.menuItem.icon),e.xp6(2),e.Oqu(n.menuItem.title),e.xp6(),e.Q6J("ngIf",n.badge),e.xp6(),e.Q6J("icon",n.getExpandStateIcon())}}function Vg(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"li",18),e.NdJ("hoverItem",function(l){e.CHM(n);const g=e.oxw(3);return e.KtG(g.onHoverItem(l))})("toggleSubMenu",function(l){e.CHM(n);const g=e.oxw(3);return e.KtG(g.onToggleSubMenu(l))})("selectItem",function(l){e.CHM(n);const g=e.oxw(3);return e.KtG(g.onSelectItem(l))})("itemClick",function(l){e.CHM(n);const g=e.oxw(3);return e.KtG(g.onItemClick(l))}),e.qZA()}if(2&o){const n=e.oxw().$implicit;e.ekj("menu-group",n.group),e.Q6J("menuItem",n)("badge",n.badge)}}function nh(o,d){if(1&o&&(e.ynx(0),e.YNc(1,Vg,1,4,"li",17),e.BQk()),2&o){const n=d.$implicit;e.xp6(),e.Q6J("ngIf",!n.hidden)}}function yu(o,d){if(1&o&&(e.TgZ(0,"ul",15),e.YNc(1,nh,2,1,"ng-container",16),e.qZA()),2&o){const n=e.oxw();e.ekj("collapsed",!(n.menuItem.children&&n.menuItem.expanded))("expanded",n.menuItem.expanded),e.Q6J("@toggle",n.toggleState),e.xp6(),e.Q6J("ngForOf",n.menuItem.children)}}function Hg(o,d){if(1&o&&e._UZ(0,"nb-badge",19),2&o){const n=e.oxw();e.Q6J("text",n.badge.text)("dotMode",n.badge.dotMode)("status",n.badge.status)}}function ih(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"li",3),e.NdJ("hoverItem",function(l){e.CHM(n);const g=e.oxw(2);return e.KtG(g.onHoverItem(l))})("toggleSubMenu",function(l){e.CHM(n);const g=e.oxw(2);return e.KtG(g.onToggleSubMenu(l))})("selectItem",function(l){e.CHM(n);const g=e.oxw(2);return e.KtG(g.onSelectItem(l))})("itemClick",function(l){e.CHM(n);const g=e.oxw(2);return e.KtG(g.onItemClick(l))}),e.qZA()}if(2&o){const n=e.oxw().$implicit;e.ekj("menu-group",n.group),e.Q6J("menuItem",n)("badge",n.badge)}}function Cu(o,d){if(1&o&&(e.ynx(0),e.YNc(1,ih,1,4,"li",2),e.BQk()),2&o){const n=d.$implicit;e.xp6(),e.Q6J("ngIf",!n.hidden)}}const jg=[[["nb-sidebar-header"]],"*",[["nb-sidebar-footer"]]],Gg=["nb-sidebar-header","*","nb-sidebar-footer"];function Wg(o,d){if(1&o&&e.GkF(0,2),2&o){const n=e.oxw();e.Q6J("ngTemplateOutlet",n.tabContentDirective.templateRef)}}function sh(o,d){1&o&&e.Hsn(0)}function Yg(o,d){if(1&o&&e._UZ(0,"nb-icon",8),2&o){const n=e.oxw().$implicit;e.Q6J("config",n.tabIcon)}}function oh(o,d){if(1&o&&e.GkF(0,9),2&o){const n=e.oxw().$implicit;e.Q6J("ngTemplateOutlet",n.tabTitleDirective.templateRef)}}function Cp(o,d){if(1&o&&(e.TgZ(0,"span",10),e._uU(1),e.qZA()),2&o){const n=e.oxw().$implicit;e.xp6(),e.Oqu(n.tabTitle)}}function Zg(o,d){if(1&o&&e._UZ(0,"nb-badge",11),2&o){const n=e.oxw().$implicit;e.Q6J("text",n.badgeText)("dotMode",n.badgeDot)("status",n.badgeStatus)("position",n.badgePosition)}}function Kg(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"li",2),e.NdJ("click",function(){const g=e.CHM(n).$implicit,T=e.oxw();return e.KtG(T.selectTab(g))})("keyup.space",function(){const g=e.CHM(n).$implicit,T=e.oxw();return e.KtG(T.selectTab(g))})("keyup.enter",function(){const g=e.CHM(n).$implicit,T=e.oxw();return e.KtG(T.selectTab(g))}),e.TgZ(1,"a",3),e.NdJ("click",function(l){return l.preventDefault()}),e.YNc(2,Yg,1,1,"nb-icon",4)(3,oh,1,1,"ng-container",5)(4,Cp,2,1,"ng-template",null,6,e.W1O),e.qZA(),e.YNc(6,Zg,1,4,"nb-badge",7),e.qZA()}if(2&o){const n=d.$implicit,s=e.MAs(5);e.ekj("responsive",n.responsive)("active",n.active)("disabled",n.disabled),e.uIk("tabindex",n.disabled?-1:0)("data-tab-id",n.tabId),e.xp6(2),e.Q6J("ngIf",n.tabIcon),e.xp6(),e.Q6J("ngIf",n.tabTitleDirective)("ngIfElse",s),e.xp6(3),e.Q6J("ngIf",n.badgeText||n.badgeDot)}}const bp=[[["nb-tab"]]],Qg=["nb-tab"];function Mp(o,d){if(1&o&&e._UZ(0,"nb-badge",8),2&o){const n=e.oxw(2);e.Q6J("text",n.badgeText)("status",n.badgeStatus)("position",n.badgePosition)}}function Jg(o,d){if(1&o&&(e.TgZ(0,"div",6),e.YNc(1,Mp,1,3,"nb-badge",7),e.qZA()),2&o){const n=e.oxw();e.Udp("background-image",n.imageBackgroundStyle),e.xp6(),e.Q6J("ngIf",n.badgeText)}}function qg(o,d){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const n=e.oxw(2);e.xp6(),e.hij(" ",n.getInitials()," ")}}function Rv(o,d){if(1&o&&e._UZ(0,"nb-badge",8),2&o){const n=e.oxw(2);e.Q6J("text",n.badgeText)("status",n.badgeStatus)("position",n.badgePosition)}}function wp(o,d){if(1&o&&(e.TgZ(0,"div",9),e.YNc(1,qg,2,1,"ng-container",10)(2,Rv,1,3,"nb-badge",7),e.qZA()),2&o){const n=e.oxw();e.Udp("background-color",n.color),e.xp6(),e.Q6J("ngIf",n.showInitials),e.xp6(),e.Q6J("ngIf",n.badgeText)}}function Sp(o,d){if(1&o&&(e.TgZ(0,"div",11),e._uU(1),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Oqu(n.name)}}function $s(o,d){if(1&o&&(e.TgZ(0,"div",12),e._uU(1),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Oqu(n.title)}}function Ep(o,d){1&o&&e._UZ(0,"nb-icon",6)}function ch(o,d){1&o&&e._UZ(0,"nb-icon",7)}const cm=o=>({$implicit:o});function wu(o,d){if(1&o&&(e.TgZ(0,"span",2),e._uU(1),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Oqu(n.message)}}const hm=[[["nb-accordion-item"]]],pm=["nb-accordion-item"],zp=[[["nb-accordion-item-header"]],[["nb-accordion-item-body"]]],mh=["nb-accordion-item-header","nb-accordion-item-body"],fm=o=>({value:o});function gm(o,d){if(1&o&&e._UZ(0,"nb-icon",1),2&o){const n=e.oxw();e.Q6J("@expansionIndicator",n.state)}}const mm=[[["nb-accordion-item-title"]],[["nb-accordion-item-description"]],"*"],Vp=["nb-accordion-item-title","nb-accordion-item-description","*"];function _m(o,d){}function vm(o,d){if(1&o&&(e.TgZ(0,"div",4),e._UZ(1,"nb-icon",5),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Q6J("config",n.icon)}}function us(o,d){if(1&o&&e._UZ(0,"nb-toast",1),2&o){const n=d.$implicit,s=e.oxw();e.Q6J("@fadeIn",s.fadeIn)("toast",n)}}function _h(o,d){if(1&o&&e._UZ(0,"nb-icon",4),2&o){const n=e.oxw();e.Q6J("config",n.context.icon)}}function Hp(o,d){if(1&o&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Oqu(n.content)}}function vh(o,d){if(1&o&&e._UZ(0,"nb-checkbox",1),2&o){const n=e.oxw();e.Q6J("checked",n.selected)("disabled",n.disabled)}}const wr=["selectButton"];function wc(o,d){1&o&&(e.ynx(0),e.Hsn(1),e.BQk())}function Up(o,d){if(1&o&&e._uU(0),2&o){const n=e.oxw(2);e.Oqu(n.selectionView)}}function $p(o,d){if(1&o&&(e.ynx(0),e.YNc(1,wc,2,0,"ng-container",3)(2,Up,1,1,"ng-template",null,7,e.W1O),e.BQk()),2&o){const n=e.MAs(3),s=e.oxw();e.xp6(),e.Q6J("ngIf",s.customLabel)("ngIfElse",n)}}function ym(o,d){if(1&o&&e._uU(0),2&o){const n=e.oxw();e.Oqu(n.placeholder)}}function jp(o,d){if(1&o&&(e.TgZ(0,"nb-option-list",8),e.Hsn(1,1),e.qZA()),2&o){const n=e.oxw();e.Udp("width",n.optionsWidth,"px"),e.Q6J("size",n.size)("position",n.overlayPosition)("ngClass",n.optionsListClass)}}const Gp=[[["nb-select-label"]],[["nb-option"],["nb-option-group"]]],yh=["nb-select-label","nb-option, nb-option-group"],Cm=[[["nb-option"],["ng-container"]]],Wp=["nb-option, ng-container"];function bm(o,d){if(1&o&&(e.TgZ(0,"div",2),e.ALo(1,"async"),e.Hsn(2,1),e.qZA()),2&o){const n=e.oxw();e.Q6J("ngClass",e.lcZ(1,1,n.prefixClasses$))}}function Mm(o,d){if(1&o&&(e.TgZ(0,"div",2),e.ALo(1,"async"),e.Hsn(2,2),e.qZA()),2&o){const n=e.oxw();e.Q6J("ngClass",e.lcZ(1,1,n.suffixClasses$))}}const Ch=["*",[["","nbPrefix",""]],[["","nbSuffix",""]]],bh=["*","[nbPrefix]","[nbSuffix]"];function Sm(o,d){if(1&o&&(e.TgZ(0,"nb-option-list",1),e.Hsn(1),e.qZA()),2&o){const n=e.oxw();e.Udp("width",n.optionsWidth,"px"),e.ekj("empty",!(null!=n.options&&n.options.length)),e.Q6J("size",n.size)("position",n.overlayPosition)("id",n.id)("ngClass",n.optionsListClass)}}const Dm=[[["nb-option"],["nb-option-group"]]],Zp=["nb-option, nb-option-group"],Em=["viewContainerRef"];function Tm(o,d){1&o&&e.GkF(0)}function Om(o,d){if(1&o&&(e.TgZ(0,"div",4),e.YNc(1,Tm,1,0,"ng-container",5),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Q6J("ngTemplateOutlet",n.config.titleTemplate)("ngTemplateOutletContext",e.VKq(2,cm,n.config.titleTemplateContext))}}function Kp(o,d){if(1&o&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&o){const n=e.oxw();e.xp6(),e.Oqu(n.config.title)}}function Sc(o,d){if(1&o){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",7),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.minimize())}),e._UZ(2,"nb-icon",8),e.qZA(),e.BQk()}}function Tu(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.maximize())}),e._UZ(1,"nb-icon",10),e.qZA()}}function wh(o,d){if(1&o&&(e.ynx(0),e.YNc(1,Tu,2,0,"button",9),e.BQk()),2&o){const n=e.oxw();e.xp6(),e.Q6J("ngIf",n.isFullScreen)}}function Am(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.maximizeOrFullScreen())}),e._UZ(1,"nb-icon",11),e.qZA()}}function Pm(o,d){if(1&o&&(e.ynx(0),e.YNc(1,Am,2,0,"button",9),e.BQk()),2&o){const n=e.oxw();e.xp6(),e.Q6J("ngIf",n.minimized||n.maximized)}}function Sh(o,d){if(1&o){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",7),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.close())}),e._UZ(2,"nb-icon",12),e.qZA(),e.BQk()}}function Qp(o,d){1&o&&(e.TgZ(0,"nb-card-body"),e._UZ(1,"nb-overlay-container"),e.qZA())}function Im(o,d){if(1&o){const n=e.EpF();e.TgZ(0,"nb-icon",1),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l._remove())}),e.qZA()}if(2&o){const n=e.oxw();e.Gre("nb-tag-remove size-",n.size,"")}}const Zv=[[["nb-tag"],["input","nbTagInput",""]]],Ou=["nb-tag, input[nbTagInput]"];function Pu(o,d){1&o&&e._UZ(0,"nb-icon",6)}const Th=new e.OlP("Nebular Theme Options"),xu=new e.OlP("Nebular Media Breakpoints"),Ec=new e.OlP("Nebular Built-in JS Themes"),nf=new e.OlP("Nebular JS Themes"),Ya=new e.OlP("Window"),Sr=new e.OlP("Document"),Rm=[{name:"xs",width:0},{name:"is",width:400},{name:"sm",width:576},{name:"md",width:768},{name:"lg",width:992},{name:"xl",width:1200},{name:"xxl",width:1400},{name:"xxxl",width:1600}];let Oh=(()=>{class o{constructor(n){this.breakpoints=n,this.breakpointsMap=this.breakpoints.reduce((s,l)=>(s[l.name]=l.width,s),{})}getByWidth(n){const s={name:"unknown",width:n},l=this.getBreakpoints();return l.find((g,T)=>{const we=l[T+1];return n>=g.width&&(!we||n n===g.name)||{name:"unknown",width:NaN}}getBreakpoints(){return this.breakpoints}getBreakpointsMap(){return this.breakpointsMap}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(xu))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();const Ah={name:"default",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgHeading:"#1a2138",fgText:"#1a2138",fgHighlight:"#3366ff",layoutBg:"#f7f9fc",separator:"#edf1f7",primary:"#3366ff",success:"#00d68f",info:"#0095ff",warning:"#ffaa00",danger:"#ff3d71",primaryLight:"#598bff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}},Nu={name:"cosmic",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#323259",bg2:"#252547",bg3:"#1b1b38",bg4:"#13132b",border:"#323259",border2:"#252547",border3:"#1b1b38",border4:"#13132b",border5:"#13132b",fg:"#b4b4db",fgHeading:"#ffffff",fgText:"#ffffff",fgHighlight:"#a16eff",layoutBg:"#151a30",separator:"#151a30",primary:"#a16eff",success:"#00d68f",info:"#0095ff",warning:"#ffaa00",danger:"#ff3d71",primaryLight:"#b18aff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}},rf={name:"corporate",base:"default",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgHeading:"#1a2138",fgText:"#1a2138",fgHighlight:"#73a1ff",layoutBg:"#f7f9fc",separator:"#edf1f7",primary:"#73a1ff",success:"#5dcfe3",info:"#ba7fec",warning:"#ffa36b",danger:"#ff6b83",primaryLight:"#598bff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}},km={name:"dark",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#222b45",bg2:"#1a2138",bg3:"#151a30",bg4:"#101426",border:"#222b45",border2:"#1a2138",border3:"#151a30",border4:"#101426",border5:"#101426",fg:"#8f9bb3",fgHeading:"#ffffff",fgText:"#ffffff",fgHighlight:"#3366ff",layoutBg:"#1b1b38",separator:"#1b1b38",primary:"#3366ff",success:"#00d68f",info:"#0095ff",warning:"#ffaa00",danger:"#ff3d71",primaryLight:"#598bff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}},Lm=[Ah,Nu,rf,km];let Ol=(()=>{class o{constructor(n,s=[]){this.themes={},this.combineByNames(s,n).forEach(g=>{this.register(g,g.name,g.base)})}register(n,s,l){const g=this.has(l)?this.get(l):{};this.themes[s]=this.mergeDeep({},g,n)}has(n){return!!this.themes[n]}get(n){if(!this.themes[n])throw Error(`NbThemeConfig: no theme '${n}' found registered.`);return JSON.parse(JSON.stringify(this.themes[n]))}combineByNames(n,s){if(n){const l=[];return n.forEach(g=>{const T=s.find(Ze=>Ze.name===g.name)||{},we=this.mergeDeep({},T,g);l.push(we)}),s.forEach(g=>{l.find(T=>T.name===g.name)||l.push(g)}),l}return s}isObject(n){return n&&"object"==typeof n&&!Array.isArray(n)}mergeDeep(n,...s){if(!s.length)return n;const l=s.shift();if(this.isObject(n)&&this.isObject(l))for(const g in l)this.isObject(l[g])?(n[g]||Object.assign(n,{[g]:{}}),this.mergeDeep(n[g],l[g])):Object.assign(n,{[g]:l[g]});return this.mergeDeep(n,...s)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Ec),e.LFG(nf))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Al=(()=>{class o{constructor(n,s,l){this.options=n,this.breakpointService=s,this.jsThemesRegistry=l,this.themeChanges$=new H.t(1),this.appendLayoutClass$=new R.x,this.removeLayoutClass$=new R.x,this.changeWindowWidth$=new H.t(2),n&&n.name&&this.changeTheme(n.name)}changeTheme(n){this.themeChanges$.next({name:n,previous:this.currentTheme}),this.currentTheme=n}changeWindowWidth(n){this.changeWindowWidth$.next(n)}getJsTheme(){return this.onThemeChange().pipe((0,De.U)(n=>this.jsThemesRegistry.get(n.name)))}onMediaQueryChange(){return this.changeWindowWidth$.pipe((0,Fe.O)(void 0),Ue(),(0,De.U)(([n,s])=>[this.breakpointService.getByWidth(n),this.breakpointService.getByWidth(s)]),(0,$e.h)(([n,s])=>n.name!==s.name),(0,nt.x)(null,n=>n[0].name+n[1].name),(0,St.B)())}onThemeChange(){return this.themeChanges$.pipe((0,St.B)())}appendLayoutClass(n){this.appendLayoutClass$.next(n)}onAppendLayoutClass(){return this.appendLayoutClass$.pipe((0,St.B)())}removeLayoutClass(n){this.removeLayoutClass$.next(n)}onRemoveLayoutClass(){return this.removeLayoutClass$.pipe((0,St.B)())}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Th),e.LFG(Oh),e.LFG(Ol))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Ph=(()=>{class o{constructor(n){this.document=n,this.loaders=[],this.selector="nb-global-spinner"}registerLoader(n){this.loaders.push(n)}clear(){this.loaders=[]}load(){this.showSpinner(),this.executeAll()}executeAll(n=(s=>{})){Promise.all(this.loaders).then(s=>{this.hideSpinner(),n.call(null,s)}).catch(s=>{console.error(s)})}showSpinner(){const n=this.getSpinnerElement();n&&(n.style.display="block")}hideSpinner(){const n=this.getSpinnerElement();n&&(n.style.display="none")}getSpinnerElement(){return this.document.getElementById(this.selector)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();var Ss=function(o){return o.LTR="ltr",o.RTL="rtl",o}(Ss||{});const xh=new e.OlP("Layout direction");let Bi=(()=>{class o{constructor(n=Ss.LTR){this.direction=n,this.$directionChange=new H.t(1),this.setDirection(n)}isLtr(){return this.direction===Ss.LTR}isRtl(){return this.direction===Ss.RTL}getDirection(){return this.direction}setDirection(n){this.direction=n,this.$directionChange.next(n)}onDirectionChange(){return this.$directionChange.pipe((0,St.B)())}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(xh,8))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Ka=(()=>{class o{constructor(){this.scrollPositionReq$=new R.x,this.manualScroll$=new R.x,this.scroll$=new R.x,this.scrollable$=new R.x}getPosition(){return new Q.y(n=>{const s=new R.x;return s.subscribe(n),this.scrollPositionReq$.next({listener:s}),()=>s.complete()})}scrollTo(n=null,s=null){this.manualScroll$.next({x:n,y:s})}onScroll(){return this.scroll$.pipe((0,St.B)())}onManualScroll(){return this.manualScroll$.pipe((0,St.B)())}onGetPosition(){return this.scrollPositionReq$}onScrollableChange(){return this.scrollable$.pipe((0,St.B)())}fireScrollChange(n){this.scroll$.next(n)}scrollable(n){this.scrollable$.next(n)}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Iu=(()=>{class o{constructor(){this.contentDimensionsReq$=new R.x}getDimensions(){return new Q.y(n=>{const s=new R.x;return s.subscribe(n),this.contentDimensionsReq$.next({listener:s}),()=>s.complete()})}onGetDimensions(){return this.contentDimensionsReq$}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),kr=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,ke.u5,Ke.Bz]})}return o})();class Bm extends Bs{constructor(d,n,s,l,g){super(d,n,s,l,g),this.element=d,this.checker=n,this.ngZone=s,this.document=l,this.savePreviouslyFocusedElement()}restoreFocus(){this.previouslyFocusedElement.focus(),this.destroy()}blurPreviouslyFocusedElement(){this.previouslyFocusedElement.blur()}savePreviouslyFocusedElement(){this.previouslyFocusedElement=this.document.activeElement}}let Nh=(()=>{class o extends No{constructor(n,s,l){super(n,s,l),this.checker=n,this.ngZone=s,this.document=l}create(n,s){return new Bm(n,this.checker,this.ngZone,this.document,s)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Mr),e.LFG(e.R0b),e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();class Go extends ci{}class va{create(d){return new Go(d)}}class zm extends Nn{}class Fu{create(d){return new zm(d)}}var Ih=function(o){return o[o.RESET_ACTIVE=-1]="RESET_ACTIVE",o[o.FIRST_ACTIVE=0]="FIRST_ACTIVE",o}(Ih||{});let Pl=(()=>{class o extends Fa{static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Vm=(()=>{class o{static forRoot(){return{ngModule:o,providers:[Nh,va,Fu,{provide:Pl,useClass:Fa}]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})(),xl=(()=>{class o extends Nr{static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbPortal",""]],features:[e.qOj]})}return o})(),Tc=(()=>{class o extends Ir{static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbPortalOutlet",""]],features:[e.qOj]})}return o})();class Wo extends fn{}let sf=(()=>{class o extends zo{static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Fh=(()=>{class o extends Xs{static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();class Rh extends Qn{constructor(d,n,s){super(d,n,s)}}let Nl=(()=>{class o extends Ge{static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();class Yo extends Xt{}class Qa extends dl{}const af=[as,Fr];let Ru=(()=>{class o{static forRoot(){return{ngModule:o,providers:[sf,Fh]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[af,as,Fr]})}return o})();var si=function(o){return o.TOP_START="top-start",o.TOP_END="top-end",o.BOTTOM_START="bottom-start",o.BOTTOM_END="bottom-end",o}(si||{}),Qi=function(o){return o.TOP_RIGHT="top-right",o.TOP_LEFT="top-left",o.BOTTOM_RIGHT="bottom-right",o.BOTTOM_LEFT="bottom-left",o}(Qi||{});let lf=(()=>{class o{constructor(n){this.layoutDirection=n}toLogicalPosition(n){return Object.values(si).includes(n)?n:this.layoutDirection.isLtr()?this.toLogicalPositionWhenLtr(n):this.toLogicalPositionWhenRtl(n)}toPhysicalPosition(n){return Object.values(Qi).includes(n)?n:this.layoutDirection.isLtr()?this.toPhysicalPositionWhenLtr(n):this.toPhysicalPositionWhenRtl(n)}isTopPosition(n){const s=this.toLogicalPosition(n);return s===si.TOP_END||s===si.TOP_START}isRightPosition(n){const s=this.toPhysicalPosition(n);return s===Qi.TOP_RIGHT||s===Qi.BOTTOM_RIGHT}toLogicalPositionWhenLtr(n){switch(n){case Qi.TOP_RIGHT:return si.TOP_END;case Qi.TOP_LEFT:return si.TOP_START;case Qi.BOTTOM_RIGHT:return si.BOTTOM_END;case Qi.BOTTOM_LEFT:return si.BOTTOM_START}}toLogicalPositionWhenRtl(n){switch(n){case Qi.TOP_RIGHT:return si.TOP_START;case Qi.TOP_LEFT:return si.TOP_END;case Qi.BOTTOM_RIGHT:return si.BOTTOM_START;case Qi.BOTTOM_LEFT:return si.BOTTOM_END}}toPhysicalPositionWhenLtr(n){switch(n){case si.TOP_START:return Qi.TOP_LEFT;case si.TOP_END:return Qi.TOP_RIGHT;case si.BOTTOM_START:return Qi.BOTTOM_LEFT;case si.BOTTOM_END:return Qi.BOTTOM_RIGHT}}toPhysicalPositionWhenRtl(n){switch(n){case si.TOP_START:return Qi.TOP_RIGHT;case si.TOP_END:return Qi.TOP_LEFT;case si.BOTTOM_START:return Qi.BOTTOM_RIGHT;case si.BOTTOM_END:return Qi.BOTTOM_LEFT}}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Bi))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),ku=(()=>{class o extends rt{static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275prov=e.Yz7({token:o,factory:n=>rt.\u0275fac(n),providedIn:"root"})}return o})(),ya=(()=>{class o extends pt{constructor(n,s,l,g,T){super(n,s,T),this.ruler=l,this.scroll=g}getViewportSize(){let n;return this.ruler.getDimensions().pipe((0,De.U)(s=>({width:s.clientWidth,height:s.clientHeight}))).subscribe(s=>n=s),n}getViewportScrollPosition(){let n;return this.scroll.getPosition().pipe((0,De.U)(s=>({top:s.y,left:s.x}))).subscribe(s=>n=s),n}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(ku),e.LFG(e.R0b),e.LFG(Iu),e.LFG(Ka),e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Lu=(()=>{class o extends Nl{setContainer(n){this.container=n}clearContainer(){this.container=null,this._containerElement=null}_createContainer(){this.checkContainer();const n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),this.container.appendChild(n),this._containerElement=n}checkContainer(){this.container||function kh(){throw new Error("[NbOverlayContainerAdapter]: Layout not found.\n When using Nebular ' ' is required and should wrap other nebular components.")}()}static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();var Ds=function(o){return o.NOOP="noop",o.CLOCKWISE="clockwise",o.COUNTERCLOCKWISE="counterclockwise",o.VERTICAL="vertical",o.HORIZONTAL="horizontal",o}(Ds||{}),It=function(o){return o.TOP="top",o.BOTTOM="bottom",o.LEFT="left",o.RIGHT="right",o.START="start",o.END="end",o.TOP_END="top-end",o.TOP_START="top-start",o.BOTTOM_END="bottom-end",o.BOTTOM_START="bottom-start",o.END_TOP="end-top",o.END_BOTTOM="end-bottom",o.START_TOP="start-top",o.START_BOTTOM="start-bottom",o}(It||{});const cf={[It.RIGHT]:o=>({originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:o}),[It.BOTTOM]:o=>({originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:o}),[It.LEFT]:o=>({originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-o}),[It.TOP]:o=>({originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-o}),[It.START](o){return this[It.LEFT](o)},[It.END](o){return this[It.RIGHT](o)},[It.END_TOP]:o=>({originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:o}),[It.END_BOTTOM]:o=>({originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetX:o}),[It.BOTTOM_START]:o=>({originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:o}),[It.BOTTOM_END]:o=>({originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:o}),[It.START_TOP]:o=>({originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetX:-o}),[It.START_BOTTOM]:o=>({originX:"start",originY:"top",overlayX:"end",overlayY:"top",offsetX:-o}),[It.TOP_START]:o=>({originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-o}),[It.TOP_END]:o=>({originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-o})},Hm={...cf,[It.RIGHT]:o=>({originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:o}),[It.LEFT]:o=>({originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:-o}),[It.START](o){return this[It.RIGHT](o)},[It.END](o){return this[It.LEFT](o)}},Um=[It.TOP,It.TOP_END,It.TOP_START,It.START,It.START_TOP,It.START_BOTTOM,It.BOTTOM,It.BOTTOM_START,It.BOTTOM_END,It.END,It.END_BOTTOM,It.END_TOP],$m=[It.TOP,It.TOP_START,It.TOP_END,It.END,It.END_TOP,It.END_BOTTOM,It.BOTTOM,It.BOTTOM_END,It.BOTTOM_START,It.START,It.START_BOTTOM,It.START_TOP],uf=[It.BOTTOM,It.TOP],Bu=[It.START,It.END];class Lh extends Yo{constructor(){super(...arguments),this._offset=15,this.positionChange=this.positionChanges.pipe((0,De.U)(d=>d.connectionPair),(0,De.U)(d=>this.appliedPositions.find(({connectedPosition:n})=>function df(o,d){return o.originX===d.originX&&o.originY===d.originY&&o.overlayX===d.overlayX&&o.overlayY===d.overlayY}(n,d)).key))}attach(d){this.applyPositions(),super.attach(d)}direction(d){return this._direction=d,this}apply(){this.applyPositions(),super.apply()}position(d){return this._position=d,this}adjustment(d){return this._adjustment=d,this}offset(d){return this._offset=d,this}applyPositions(){const d=this.createPositions();this.persistChosenPositions(d),this.withPositions(this.appliedPositions.map(({connectedPosition:n})=>n))}createPositions(){switch(this._adjustment){case Ds.NOOP:return[this._position];case Ds.CLOCKWISE:return this.reorderPreferredPositions($m);case Ds.COUNTERCLOCKWISE:return this.reorderPreferredPositions(Um);case Ds.HORIZONTAL:return this.reorderPreferredPositions(Bu);case Ds.VERTICAL:return this.reorderPreferredPositions(uf)}}mapToLogicalPosition(d){return d===It.LEFT?this._direction===Ss.LTR?It.START:It.END:d===It.RIGHT?this._direction===Ss.LTR?It.END:It.START:d}persistChosenPositions(d){const n=this._direction===Ss.RTL?Hm:cf;this.appliedPositions=d.map(s=>({key:s,connectedPosition:n[s](this._offset)}))}reorderPreferredPositions(d){const n=this.mapToLogicalPosition(this._position),s=d.indexOf(n),l=d.slice(s),g=d.slice(0,s);return l.concat(g)}}class jm extends vl{position(d){switch(d){case si.TOP_START:return this.top().left();case si.TOP_END:return this.top().right();case si.BOTTOM_START:return this.bottom().left();case si.BOTTOM_END:return this.bottom().right()}}}let Es=(()=>{class o{constructor(n,s,l,g,T){this.document=n,this.viewportRuler=s,this.platform=l,this.positionBuilder=g,this.overlayContainer=T}global(){return new jm}connectedTo(n){return new Lh(n,this.viewportRuler,this.document,this.platform,this.overlayContainer).withFlexibleDimensions(!1).withPush(!1)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Sr),e.LFG(ya),e.LFG(ku),e.LFG(Fh),e.LFG(Lu))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Bh=(()=>{class o{get top(){return this.position===It.TOP}get topStart(){return this.position===It.TOP_START}get topEnd(){return this.position===It.TOP_END}get right(){return this.position===It.RIGHT||this.position===It.END}get endTop(){return this.position===It.END_TOP}get endBottom(){return this.position===It.END_BOTTOM}get bottom(){return this.position===It.BOTTOM}get bottomStart(){return this.position===It.BOTTOM_START}get bottomEnd(){return this.position===It.BOTTOM_END}get left(){return this.position===It.LEFT||this.position===It.START}get startTop(){return this.position===It.START_TOP}get startBottom(){return this.position===It.START_BOTTOM}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["ng-component"]],hostVars:24,hostBindings:function(s,l){2&s&&e.ekj("nb-overlay-top",l.top)("nb-overlay-top-start",l.topStart)("nb-overlay-top-end",l.topEnd)("nb-overlay-right",l.right)("nb-overlay-end-top",l.endTop)("nb-overlay-end-bottom",l.endBottom)("nb-overlay-bottom",l.bottom)("nb-overlay-bottom-start",l.bottomStart)("nb-overlay-bottom-end",l.bottomEnd)("nb-overlay-left",l.left)("nb-overlay-start-top",l.startTop)("nb-overlay-start-bottom",l.startBottom)},inputs:{position:"position"},decls:0,vars:0,template:function(s,l){},encapsulation:2})}return o})(),zu=(()=>{class o{constructor(n,s,l){this.vcr=n,this.injector=s,this.changeDetectorRef=l,this.isAttached=!1}get isStringContent(){return!!this.content}attachComponentPortal(n,s){n.injector=this.createChildInjector(n.componentFactoryResolver);const l=this.portalOutlet.attachComponentPortal(n);return s&&Object.assign(l.instance,s),l.changeDetectorRef.markForCheck(),l.changeDetectorRef.detectChanges(),this.isAttached=!0,l}attachTemplatePortal(n){const s=this.portalOutlet.attachTemplatePortal(n);return s.detectChanges(),this.isAttached=!0,s}attachStringContent(n){this.content=n,this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges(),this.isAttached=!0}detach(){this.portalOutlet.hasAttached()&&this.portalOutlet.detach(),this.attachStringContent(null),this.isAttached=!1}createChildInjector(n){return new Qa(this.injector,new WeakMap([[e._Vd,n]]))}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.s_b),e.Y36(e.zs3),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-overlay-container"]],viewQuery:function(s,l){if(1&s&&e.Gf(Tc,7),2&s){let g;e.iGM(g=e.CRH())&&(l.portalOutlet=g.first)}},decls:2,vars:1,consts:[["class","primitive-overlay",4,"ngIf"],["nbPortalOutlet",""],[1,"primitive-overlay"]],template:function(s,l){1&s&&e.YNc(0,or,2,1,"div",0)(1,cp,0,0,"ng-template",1),2&s&&e.Q6J("ngIf",l.isStringContent)},dependencies:[Tc,F.O5],encapsulation:2})}return o})();function Il(o,d){return Object.assign(o.instance,d),o.changeDetectorRef.detectChanges(),o}let Ca=(()=>{class o{constructor(n,s){this.overlay=n,this.layoutDirection=s}get scrollStrategies(){return this.overlay.scrollStrategies}create(n){const s=this.overlay.create(n);return this.layoutDirection.onDirectionChange().subscribe(l=>s.setDirection(l)),s}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(sf),e.LFG(Bi))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),hf=(()=>{class o extends ss{constructor(n,s,l,g){super(n,s,g),this.scrollService=l}scrolled(n){return(0,P.T)(super.scrolled(n),this.scrollService.onScroll())}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(e.R0b),e.LFG(ku),e.LFG(Ka),e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Vh=(()=>{class o extends _l{constructor(n,s,l){super(s,n),this.scrollService=l}enable(){super.enable(),this.scrollService.scrollable(!1)}disable(){super.disable(),this.scrollService.scrollable(!0)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Sr),e.LFG(ya),e.LFG(Ka))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),pf=(()=>{class o extends ce{constructor(n,s,l,g,T){super(s,l,g,T),this.scrollService=n,this.scrollDispatcher=s,this.viewportRuler=l,this.ngZone=g,this.document=T,this.block=()=>new Vh(this.document,this.viewportRuler,this.scrollService)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Ka),e.LFG(ss),e.LFG(ya),e.LFG(e.R0b),e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Hh=(()=>{class o{static forRoot(){return{ngModule:o,providers:[ya,Lu,Vh,hf,pf,{provide:Ge,useExisting:Lu},{provide:Nl,useExisting:Lu},{provide:ss,useExisting:hf},{provide:ce,useExisting:pf}]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})();var ds=function(o){return o.NOOP="noop",o.CLICK="click",o.HOVER="hover",o.HINT="hint",o.FOCUS="focus",o}(ds||{});class Vu{destroy(){this.destroyed$.next()}isNotOnHostOrContainer(d){return!this.isOnHost(d)&&!this.isOnContainer(d)}isOnHostOrContainer(d){return this.isOnHost(d)||this.isOnContainer(d)}isOnHost(d){return this.host.contains(d)}isOnContainer(d){return this.container()&&this.container().location.nativeElement.contains(d)}constructor(d,n,s){this.document=d,this.host=n,this.container=s,this.destroyed$=new R.x}}class Oc extends Vu{constructor(){super(...arguments),this.click$=(0,ie.R)(this.document,"click").pipe((0,De.U)(d=>[!this.container()&&this.isOnHost(d.target),d]),(0,St.B)(),(0,be.R)(this.destroyed$)),this.show$=this.click$.pipe((0,$e.h)(([d])=>d),(0,De.U)(([,d])=>d),(0,be.R)(this.destroyed$)),this.hide$=this.click$.pipe((0,$e.h)(([d,n])=>!d&&!this.isOnContainer(n.target)),(0,De.U)(([,d])=>d),(0,be.R)(this.destroyed$))}}class Uh extends Vu{constructor(){super(...arguments),this.show$=(0,ie.R)(this.host,"mouseenter").pipe((0,$e.h)(()=>!this.container()),(0,At.g)(100),(0,be.R)((0,ie.R)(this.host,"mouseleave")),kt(),(0,be.R)(this.destroyed$)),this.hide$=(0,ie.R)(this.host,"mouseleave").pipe((0,me.w)(()=>(0,ie.R)(this.document,"mousemove").pipe((0,Be.b)(100),(0,pe.o)(()=>!!this.container()),(0,$e.h)(d=>this.isNotOnHostOrContainer(d.target)))),(0,be.R)(this.destroyed$))}}class Kv extends Vu{constructor(){super(...arguments),this.show$=(0,ie.R)(this.host,"mouseenter").pipe((0,At.g)(100),(0,be.R)((0,ie.R)(this.host,"mouseleave")),kt(),(0,be.R)(this.destroyed$)),this.hide$=(0,ie.R)(this.host,"mouseleave").pipe((0,be.R)(this.destroyed$))}}class Qv extends Vu{constructor(){super(...arguments),this.focusOut$=(0,ie.R)(this.host,"focusout").pipe((0,me.w)(()=>(0,ie.R)(this.document,"focusin").pipe((0,pe.o)(()=>!!this.container()),(0,$e.h)(d=>this.isNotOnHostOrContainer(d.target)))),(0,be.R)(this.destroyed$)),this.clickIn$=(0,ie.R)(this.host,"click").pipe((0,$e.h)(()=>!this.container()),(0,be.R)(this.destroyed$)),this.clickOut$=(0,ie.R)(this.document,"click").pipe((0,$e.h)(()=>!!this.container()),(0,$e.h)(d=>!!this.isNotOnHostOrContainer(d.target)&&this.isNotOnHostOrContainer(this.document.activeElement)),(0,be.R)(this.destroyed$)),this.tabKeyPress$=(0,ie.R)(this.document,"keydown").pipe((0,$e.h)(d=>9===d.keyCode),(0,$e.h)(()=>!!this.container()),(0,be.R)(this.destroyed$)),this.show$=(0,P.T)((0,ie.R)(this.host,"focusin"),this.clickIn$).pipe((0,$e.h)(()=>!this.container()),(0,Be.b)(100),(0,be.R)((0,ie.R)(this.host,"focusout")),kt(),(0,be.R)(this.destroyed$)),this.hide$=(0,P.T)(this.focusOut$,this.tabKeyPress$,this.clickOut$).pipe((0,be.R)(this.destroyed$))}}class Hu extends Vu{constructor(){super(...arguments),this.show$=N.E,this.hide$=N.E}}let Ac=(()=>{class o{constructor(n){this._document=n}trigger(n){return this._trigger=n,this}host(n){return this._host=n,this}container(n){return this._container=n,this}build(){switch(this._trigger){case ds.CLICK:return new Oc(this._document,this._host,this._container);case ds.HINT:return new Kv(this._document,this._host,this._container);case ds.HOVER:return new Uh(this._document,this._host,this._container);case ds.FOCUS:return new Qv(this._document,this._host,this._container);case ds.NOOP:return new Hu(this._document,this._host,this._container);default:throw new Error("Trigger have to be provided")}}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),so=(()=>{class o{static forRoot(){return{ngModule:o,providers:[Es,Ac,Ca,lf,...Ru.forRoot().providers,...Hh.forRoot().providers,...Vm.forRoot().providers]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[Ru,kr,Ru,Hh]})}return o})(),Ni=(()=>{class o{constructor(){this.coreStatuses=["basic","primary","info","warning","danger","control"]}isCoreStatus(n){return this.coreStatuses.includes(n)}isCustomStatus(n){return!!this.isValidStatusString(n)&&!this.isCoreStatus(n)}getStatusClass(n){if(this.isValidStatusString(n))return`status-${n}`}isValidStatusString(n){return"string"==typeof n&&n.length>0}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();function Fl(o){if((0,F.NF)(o))return window}let $h=(()=>{class o{static forRoot(n={name:"default"},s,l,g){return{ngModule:o,providers:[{provide:Th,useValue:n||{}},{provide:Ec,useValue:Lm},{provide:nf,useValue:s||[]},{provide:xu,useValue:l||Rm},{provide:Sr,useExisting:F.K0},{provide:Ya,useFactory:Fl,deps:[e.Lbi]},Ol,Al,Oh,Ph,{provide:xh,useValue:g||Ss.LTR},Bi,Ka,Iu,...so.forRoot().providers,Ni]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez]})}return o})();var js=function(o){return o.SVG="svg",o.FONT="font",o}(js||{});class xc{constructor(d,n,s={}){this.name=d,this.content=n,this.params=s}getClasses(d){const n=[];return this.params.packClass&&n.push(this.params.packClass),n.push(this.params.iconClassPrefix?`${this.params.iconClassPrefix}-${this.name}`:this.name),n}getContent(d){return this.content}}class ba{constructor(d,n,s={}){this.name=d,this.content=n,this.params=s}getClasses(d){const n=[];return this.params.packClass&&n.push(this.params.packClass),n}getContent(d){return this.content}}function Uu(o){throw Error(`Icon Pack '${o}' is not registered`)}function Gm(o,d,n){throw Error(`Pack '${o}' is not an '${n}' Pack and its type is '${d}'`)}let Nc=(()=>{class o{constructor(){this.packs=new Map}registerSvgPack(n,s,l={}){this.packs.set(n,{name:n,icons:new Map(Object.entries(s)),params:l,type:js.SVG})}registerFontPack(n,s={}){this.packs.set(n,{name:n,params:s,icons:new Map,type:js.FONT})}getPack(n){return this.packs.get(n)}setDefaultPack(n){this.packs.has(n)||Uu(n),this.defaultPack=this.packs.get(n)}getSvgIcon(n,s){const l=s?this.getPackOrThrow(s):this.getDefaultPackOrThrow();l.type!==js.SVG&&Gm(l.name,l.type,"SVG");const g=this.getIconFromPack(n,l);return g?{name:n,pack:l.name,type:js.SVG,icon:this.createSvgIcon(n,g,l.params)}:null}getFontIcon(n,s){const l=s?this.getPackOrThrow(s):this.getDefaultPackOrThrow();l.type!==js.FONT&&Gm(l.name,l.type,"Font");const g=this.getIconFromPack(n,l)??"";return{name:n,pack:l.name,type:js.FONT,icon:this.createFontIcon(n,l.params.ligature?n:g,l.params)}}getIcon(n,s){return(s?this.getPackOrThrow(s):this.getDefaultPackOrThrow()).type===js.SVG?this.getSvgIcon(n,s):this.getFontIcon(n,s)}createSvgIcon(n,s,l){return s instanceof ba?s:new ba(n,s,l)}createFontIcon(n,s,l){return s instanceof xc?s:new xc(n,s,l)}getPackOrThrow(n){const s=this.packs.get(n);return s||Uu(n),s}getDefaultPackOrThrow(){return this.defaultPack||function $u(){throw Error("Default pack is not registered.")}(),this.defaultPack}getIconFromPack(n,s){return s.icons.has(n)?s.icons.get(n):null}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),di=(()=>{class o{get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}get config(){return this._config}set config(n){n&&(this._config=n,"string"==typeof n?this.icon=n:(this.icon=n.icon,this.pack=n.pack,this.status=n.status,this.options=n.options))}constructor(n,s,l,g,T){this.sanitizer=n,this.iconLibrary=s,this.el=l,this.renderer=g,this.statusService=T,this.prevClasses=[],this.html=""}ngOnInit(){this.iconDef=this.renderIcon(this.icon,this.pack,this.options)}ngOnChanges(){this.iconLibrary.getIcon(this.icon,this.pack)?this.renderIcon(this.icon,this.pack,this.options):this.clearIcon()}renderIcon(n,s,l){const g=this.iconLibrary.getIcon(n,s);if(!g)return;const T=g.icon.getContent(l);return T&&(this.html=this.sanitizer.bypassSecurityTrustHtml(T)),this.assignClasses(g.icon.getClasses(l)),g}clearIcon(){this.html="",this.assignClasses([])}assignClasses(n){this.prevClasses.forEach(s=>{this.renderer.removeClass(this.el.nativeElement,s)}),n.forEach(s=>{this.renderer.addClass(this.el.nativeElement,s)}),this.prevClasses=n}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Rr.H7),e.Y36(Nc),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-icon"]],hostVars:17,hostBindings:function(s,l){2&s&&(e.Ikx("innerHtml",l.html,e.oJD),e.Tol(l.additionalClasses),e.ekj("status-primary",l.primary)("status-info",l.info)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control))},inputs:{icon:"icon",pack:"pack",options:"options",status:"status",config:"config"},features:[e.TTD],decls:0,vars:0,template:function(s,l){},styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})}return o})(),Ts=(()=>{class o{constructor(n){this.iconsLibrary=n,this.essentialsPackName="nebular-essentials",!this.iconsLibrary.getPack(this.essentialsPackName)&&this.iconsLibrary.registerSvgPack(this.essentialsPackName,{"chevron-down-outline":'',"chevron-up-outline":'',"chevron-left-outline":'',"chevron-right-outline":'',"checkmark-outline":'',"paper-plane-outline":'',"file-text-outline":'',"alert-triangle-outline":'',"question-mark-outline":'',"email-outline":'',"flash-outline":'',"search-outline":'',"close-outline":'',"collapse-outline":'',"expand-outline":'',"minus-outline":'',"minus-bold-outline":'',"checkmark-bold-outline":'',"arrow-back":''})}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Nc))};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez]})}return o})(),ju=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-card-header"]],ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return o})(),jh=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-card-body"]],ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return o})(),gf=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-card-footer"]],ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return o})(),Ic=(()=>{class o{get size(){return this._size}set size(n){this._size=n}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get hasAccent(){return this.accent}get primaryAccent(){return"primary"===this.accent}get infoAccent(){return"info"===this.accent}get successAccent(){return"success"===this.accent}get warningAccent(){return"warning"===this.accent}get dangerAccent(){return"danger"===this.accent}get basicAccent(){return"basic"===this.accent}get controlAccent(){return"control"===this.accent}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}constructor(n){this.statusService=n,this._size="",this.status="",this.accent=""}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-card"]],hostVars:42,hostBindings:function(s,l){2&s&&(e.Tol(l.additionalClasses),e.ekj("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant)("status-primary",l.primary)("status-info",l.info)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control)("accent",l.hasAccent)("accent-primary",l.primaryAccent)("accent-info",l.infoAccent)("accent-success",l.successAccent)("accent-warning",l.warningAccent)("accent-danger",l.dangerAccent)("accent-basic",l.basicAccent)("accent-control",l.controlAccent))},inputs:{size:"size",status:"status",accent:"accent"},ngContentSelectors:cs,decls:4,vars:0,template:function(s,l){1&s&&(e.F$t(Tg),e.Hsn(0),e.Hsn(1,1),e.Hsn(2,2),e.Hsn(3,3))},styles:["\n\n\n\n\n[_nghost-%COMP%]{display:flex;flex-direction:column}"]})}return o})(),_f=(()=>{class o{constructor(){this.flipped=!1,this.showToggleButton=!0}toggle(){this.flipped=!this.flipped}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-flip-card"]],hostVars:2,hostBindings:function(s,l){2&s&&e.ekj("flipped",l.flipped)},inputs:{flipped:"flipped",showToggleButton:"showToggleButton"},ngContentSelectors:_c,decls:7,vars:2,consts:[[1,"flipcard-body"],[1,"front-container"],["class","flip-button",3,"click",4,"ngIf"],[1,"back-container"],[1,"flip-button",3,"click"],["icon","chevron-left-outline","pack","nebular-essentials","aria-hidden","true"]],template:function(s,l){1&s&&(e.F$t(Wd),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.YNc(3,du,2,0,"a",2),e.qZA(),e.TgZ(4,"div",3),e.Hsn(5,1),e.YNc(6,Yd,2,0,"a",2),e.qZA()()),2&s&&(e.xp6(3),e.Q6J("ngIf",l.showToggleButton),e.xp6(3),e.Q6J("ngIf",l.showToggleButton))},dependencies:[F.O5,di],styles:["\n\n\n\n\n[_nghost-%COMP%]{display:block;min-width:0;perspective:1200px;position:relative}.flipped[_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%], .flipped [_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%]{transform:rotateY(-180deg)}.flipped[_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%] .front-container[_ngcontent-%COMP%], .flipped [_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%] .front-container[_ngcontent-%COMP%]{opacity:0;transition:opacity 0s .25s;backface-visibility:hidden;-webkit-backface-visibility:hidden}.flipped[_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%] .front-container[_ngcontent-%COMP%] .flip-button[_ngcontent-%COMP%], .flipped [_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%] .front-container[_ngcontent-%COMP%] .flip-button[_ngcontent-%COMP%]{opacity:0;z-index:-1}.flipped[_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%] .back-container[_ngcontent-%COMP%], .flipped [_nghost-%COMP%] .flipcard-body[_ngcontent-%COMP%] .back-container[_ngcontent-%COMP%]{backface-visibility:visible;-webkit-backface-visibility:visible}.flipcard-body[_ngcontent-%COMP%]{display:flex;transition:transform .5s;transform-style:preserve-3d}.flipcard-body[_ngcontent-%COMP%] .front-container[_ngcontent-%COMP%], .flipcard-body[_ngcontent-%COMP%] .back-container[_ngcontent-%COMP%]{flex:1;height:fit-content;overflow:auto}.flipcard-body[_ngcontent-%COMP%] .front-container[_ngcontent-%COMP%] .flip-button[_ngcontent-%COMP%], .flipcard-body[_ngcontent-%COMP%] .back-container[_ngcontent-%COMP%] .flip-button[_ngcontent-%COMP%]{cursor:pointer;position:absolute;right:0;bottom:0;opacity:1;transition:opacity 0s .15s}.flipcard-body[_ngcontent-%COMP%] .front-container[_ngcontent-%COMP%]{backface-visibility:visible;-webkit-backface-visibility:visible;transition:opacity 0s .2s}.flipcard-body[_ngcontent-%COMP%] .back-container[_ngcontent-%COMP%]{backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:rotateY(180deg)}"]})}return o})(),vf=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-card-front"]],ngContentSelectors:Zd,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(Og),e.Hsn(0))},encapsulation:2})}return o})(),Wm=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-card-back"]],ngContentSelectors:Zd,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(Og),e.Hsn(0))},encapsulation:2})}return o})(),Ja=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,Ts]})}return o})();function Lt(o){return"string"==typeof o?"true"===(o=o.toLowerCase().trim())||""===o:!!o}let Wu=(()=>{class o{get filled(){return"filled"===this.appearance}set filled(n){Lt(n)&&(this.appearance="filled")}get outline(){return"outline"===this.appearance}set outline(n){Lt(n)&&(this.appearance="outline")}get ghost(){return"ghost"===this.appearance}set ghost(n){Lt(n)&&(this.appearance="ghost")}get fullWidth(){return this._fullWidth}set fullWidth(n){this._fullWidth=Lt(n)}get disabled(){return this._disabled}set disabled(n){this.disabled!==Lt(n)&&(this._disabled=!this.disabled,this.renderer.setProperty(this.hostElement.nativeElement,"disabled",this.disabled))}get tabbable(){return this.disabled?"-1":null==this.tabIndex?"0":this.tabIndex.toString()}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get rectangle(){return"rectangle"===this.shape}get round(){return"round"===this.shape}get semiRound(){return"semi-round"===this.shape}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}constructor(n,s,l,g,T){this.renderer=n,this.hostElement=s,this.cd=l,this.zone=g,this.statusService=T,this.size="medium",this.status="basic",this.shape="rectangle",this.appearance="filled",this._fullWidth=!1,this._disabled=!1,this.iconLeft=!1,this.iconRight=!1}ngAfterContentChecked(){const s=this.nodes[this.nodes.length-1];this.iconLeft=this.isIconExist(this.nodes[0]),this.iconRight=this.isIconExist(s)}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.hostElement.nativeElement,"nb-transition")}))}updateProperties(n){let s=!1;for(const l in n)n.hasOwnProperty(l)&&this[l]!==n[l]&&(this[l]=n[l],s=!0);s&&this.cd.markForCheck()}get iconElement(){return this.hostElement.nativeElement.querySelector("nb-icon")}get nodes(){return this.cd.rootNodes.filter(n=>n.nodeType!==Node.COMMENT_NODE)}isIconExist(n){return this.icons.some(s=>s.nativeElement===n)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275dir=e.lG2({type:o,contentQueries:function(s,l,g){if(1&s&&e.Suo(g,di,4,e.SBq),2&s){let T;e.iGM(T=e.CRH())&&(l.icons=T)}},hostVars:34,hostBindings:function(s,l){2&s&&(e.uIk("aria-disabled",l.disabled)("tabindex",l.tabbable),e.Tol(l.additionalClasses),e.ekj("appearance-filled",l.filled)("appearance-outline",l.outline)("appearance-ghost",l.ghost)("full-width",l.fullWidth)("btn-disabled",l.disabled)("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant)("shape-rectangle",l.rectangle)("shape-round",l.round)("shape-semi-round",l.semiRound)("icon-start",l.iconLeft)("icon-end",l.iconRight))},inputs:{size:"size",status:"status",shape:"shape",appearance:"appearance",filled:"filled",outline:"outline",ghost:"ghost",fullWidth:"fullWidth",disabled:"disabled",tabIndex:"tabIndex"}})}return o})(),qa=(()=>{class o extends Wu{get hero(){return"hero"===this.appearance}set hero(n){Lt(n)&&(this.appearance="hero")}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}onClick(n){this.disabled&&(n.preventDefault(),n.stopImmediatePropagation())}constructor(n,s,l,g,T){super(n,s,l,g,T),this.renderer=n,this.hostElement=s,this.cd=l,this.zone=g,this.statusService=T}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["button","nbButton",""],["a","nbButton",""],["input","type","button","nbButton",""],["input","type","submit","nbButton",""]],hostVars:16,hostBindings:function(s,l){1&s&&e.NdJ("click",function(T){return l.onClick(T)}),2&s&&e.ekj("appearance-hero",l.hero)("status-primary",l.primary)("status-info",l.info)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control)},inputs:{hero:"hero"},features:[e._Bn([{provide:Wu,useExisting:o}]),e.qOj],attrs:Sv,ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return o})(),Zh=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr]})}return o})();new e.OlP("NB_TIME_PICKER_CONFIG");let Af=(()=>{class o{constructor(){this.role="list"}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-list"]],hostVars:1,hostBindings:function(s,l){2&s&&e.uIk("role",l.role)},inputs:{role:"role"},ngContentSelectors:hu,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(Jd),e.Hsn(0))},styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;flex:1 1 auto;overflow:auto}"]})}return o})(),wa=(()=>{class o{constructor(){this.role="listitem"}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-list-item"]],hostVars:1,hostBindings:function(s,l){2&s&&e.uIk("role",l.role)},inputs:{role:"role"},ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},styles:["[_nghost-%COMP%]{display:flex;align-items:center;flex-shrink:0}"]})}return o})();function el(o){return o.match(/.*?(?=[?;#]|$)/)[0]}function Qh(o){const d=o.match(/#(.+)/);return d?d[1]:""}new e.OlP("Datepicker Adapter"),new e.OlP("Date service options");let If=(()=>{class o{constructor(n){this.router=n}shouldRestore(){return this.router.events.pipe((0,Fe.O)(null),(0,$e.h)(n=>null===n||n instanceof Ke.m2),Ue(),(0,De.U)(([n,s])=>this.pageChanged(n,s)),(0,$e.h)(n=>!!n))}pageChanged(n,s){return!n||el(n.url)!==el(s.url)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Ke.F0))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Jh=(()=>{class o{set center(n){this.centerValue=Lt(n)}set windowMode(n){this.windowModeValue=Lt(n),this.withScroll=this.windowModeValue}set withScroll(n){this.withScrollValue=Lt(n);const s=this.document.getElementsByTagName("body")[0];this.renderer.setStyle(s,"overflow",this.withScrollValue?"hidden":"initial")}set restoreScrollTop(n){this.restoreScrollTopValue=Lt(n)}constructor(n,s,l,g,T,we,Ze,ht,yt,qt,zn,Un){this.themeService=n,this.spinnerService=s,this.elementRef=l,this.renderer=g,this.window=T,this.document=we,this.platformId=Ze,this.layoutDirectionService=ht,this.scrollService=yt,this.rulerService=qt,this.scrollTop=zn,this.overlayContainer=Un,this.scrollBlockClass="nb-global-scrollblock",this.isScrollBlocked=!1,this.centerValue=!1,this.restoreScrollTopValue=!0,this.windowModeValue=!1,this.withScrollValue=!1,this.withSubheader=!1,this.afterViewInit$=new V.X(null),this.destroy$=new R.x,this.registerAsOverlayContainer(),this.themeService.onThemeChange().pipe((0,be.R)(this.destroy$)).subscribe(cn=>{const Oi=this.document.getElementsByTagName("body")[0];cn.previous&&this.renderer.removeClass(Oi,`nb-theme-${cn.previous}`),this.renderer.addClass(Oi,`nb-theme-${cn.name}`)}),this.themeService.onAppendLayoutClass().pipe((0,be.R)(this.destroy$)).subscribe(cn=>{this.renderer.addClass(this.elementRef.nativeElement,cn)}),this.themeService.onRemoveLayoutClass().pipe((0,be.R)(this.destroy$)).subscribe(cn=>{this.renderer.removeClass(this.elementRef.nativeElement,cn)}),this.spinnerService.registerLoader(new Promise(cn=>{this.afterViewInit$.pipe((0,be.R)(this.destroy$)).subscribe(Oi=>cn())})),this.spinnerService.load(),this.rulerService.onGetDimensions().pipe((0,be.R)(this.destroy$)).subscribe(({listener:cn})=>{cn.next(this.getDimensions()),cn.complete()}),this.scrollService.onGetPosition().pipe((0,be.R)(this.destroy$)).subscribe(({listener:cn})=>{cn.next(this.getScrollPosition()),cn.complete()}),this.scrollTop.shouldRestore().pipe((0,$e.h)(()=>this.restoreScrollTopValue),(0,be.R)(this.destroy$)).subscribe(()=>{this.scroll(0,0)}),this.scrollService.onScrollableChange().pipe((0,$e.h)(()=>this.withScrollValue),(0,be.R)(this.destroy$)).subscribe(cn=>{cn?this.enableScroll():this.blockScroll()}),(0,F.NF)(this.platformId)&&this.themeService.changeWindowWidth(this.window.innerWidth)}ngAfterViewInit(){this.layoutDirectionService.onDirectionChange().pipe((0,be.R)(this.destroy$)).subscribe(n=>this.document.dir=n),this.scrollService.onManualScroll().pipe((0,be.R)(this.destroy$)).subscribe(({x:n,y:s})=>this.scroll(n,s)),this.afterViewInit$.next(!0)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.unregisterAsOverlayContainer()}onScroll(n){this.scrollService.fireScrollChange(n)}onResize(n){this.themeService.changeWindowWidth(n.target.innerWidth)}getDimensions(){let n,s,l,g=0;if(this.withScrollValue){const T=this.scrollableContainerRef.nativeElement;n=T.clientWidth,s=T.clientHeight,l=T.scrollWidth,g=T.scrollHeight}else{const{documentElement:T,body:we}=this.document;n=T.clientWidth||we.clientWidth,s=T.clientHeight||we.clientHeight,l=T.scrollWidth||we.scrollWidth,g=T.scrollHeight||we.scrollHeight}return{clientWidth:n,clientHeight:s,scrollWidth:l,scrollHeight:g}}getScrollPosition(){if(!(0,F.NF)(this.platformId))return{x:0,y:0};if(this.withScrollValue){const g=this.scrollableContainerRef.nativeElement;return{x:g.scrollLeft,y:g.scrollTop}}const n=this.document.documentElement.getBoundingClientRect();return{x:-n.left||this.document.body.scrollLeft||this.window.scrollX||this.document.documentElement.scrollLeft||0,y:-n.top||this.document.body.scrollTop||this.window.scrollY||this.document.documentElement.scrollTop||0}}registerAsOverlayContainer(){this.overlayContainer.setContainer&&this.overlayContainer.setContainer(this.elementRef.nativeElement)}unregisterAsOverlayContainer(){this.overlayContainer.clearContainer&&this.overlayContainer.clearContainer()}scroll(n=null,s=null){const{x:l,y:g}=this.getScrollPosition();if(n=n??l,s=s??g,(0,F.NF)(this.platformId))if(this.withScrollValue){const T=this.scrollableContainerRef.nativeElement;T.scrollTo?T.scrollTo(n,s):(T.scrollLeft=n,T.scrollTop=s)}else this.window.scrollTo(n,s)}blockScroll(){if(this.isScrollBlocked)return;this.isScrollBlocked=!0,this.renderer.addClass(this.document.documentElement,this.scrollBlockClass);const n=this.scrollableContainerRef.nativeElement,s=this.layoutContainerRef.nativeElement,l=s.clientWidth;this.scrollableContainerOverflowOldValue=n.style.overflow,n.style.overflow="hidden";const T=s.clientWidth-l;T&&(this.layoutPaddingOldValue={left:s.style.paddingLeft,right:s.style.paddingRight},this.layoutDirectionService.isLtr()?s.style.paddingRight=`${T}px`:s.style.paddingLeft=`${T}px`)}enableScroll(){if(this.isScrollBlocked&&(this.isScrollBlocked=!1,this.renderer.removeClass(this.document.documentElement,this.scrollBlockClass),this.scrollableContainerRef.nativeElement.style.overflow=this.scrollableContainerOverflowOldValue,this.layoutPaddingOldValue)){const n=this.layoutContainerRef.nativeElement;n.style.paddingLeft=this.layoutPaddingOldValue.left,n.style.paddingRight=this.layoutPaddingOldValue.right,this.layoutPaddingOldValue=null}}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Al),e.Y36(Ph),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Ya),e.Y36(Sr),e.Y36(e.Lbi),e.Y36(Bi),e.Y36(Ka),e.Y36(Iu),e.Y36(If),e.Y36(Lu))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-layout"]],viewQuery:function(s,l){if(1&s&&(e.Gf(Iv,5,e.s_b),e.Gf(kg,7,e.SBq),e.Gf(Lg,5,e.SBq)),2&s){let g;e.iGM(g=e.CRH())&&(l.veryTopRef=g.first),e.iGM(g=e.CRH())&&(l.scrollableContainerRef=g.first),e.iGM(g=e.CRH())&&(l.layoutContainerRef=g.first)}},hostVars:6,hostBindings:function(s,l){1&s&&e.NdJ("scroll",function(T){return l.onScroll(T)},!1,e.Jf7)("resize",function(T){return l.onResize(T)},!1,e.Jf7),2&s&&e.ekj("window-mode",l.windowModeValue)("with-scroll",l.withScrollValue)("with-subheader",l.withSubheader)},inputs:{center:"center",windowMode:"windowMode",withScroll:"withScroll",restoreScrollTop:"restoreScrollTop"},ngContentSelectors:ja,decls:12,vars:2,consts:[[1,"scrollable-container",3,"scroll"],["scrollableContainer",""],[1,"layout"],["layoutContainer",""],[1,"layout-container"],[1,"content"],[1,"columns"]],template:function(s,l){1&s&&(e.F$t(Bg),e.TgZ(0,"div",0,1),e.NdJ("scroll",function(T){return l.onScroll(T)}),e.TgZ(2,"div",2,3),e.Hsn(4),e.TgZ(5,"div",4),e.Hsn(6,1),e.TgZ(7,"div",5),e.Hsn(8,2),e.TgZ(9,"div",6),e.Hsn(10,3),e.qZA(),e.Hsn(11,4),e.qZA()()()()),2&s&&(e.xp6(7),e.ekj("center",l.centerValue))},styles:["\n\n\n\n\n[_nghost-%COMP%]{-webkit-font-smoothing:antialiased}[dir=ltr] [_nghost-%COMP%]{text-align:left}[dir=rtl] [_nghost-%COMP%]{text-align:right}[_nghost-%COMP%] .layout[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] nb-layout-header{display:block}[_nghost-%COMP%] nb-layout-header nav{align-items:center;justify-content:flex-start;display:flex}[_nghost-%COMP%] nb-layout-header.fixed{position:fixed;top:0;left:0;right:0;z-index:1040}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%]{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row}[dir=ltr] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.left{order:0}[dir=rtl] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.left{order:2}[dir=ltr] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.right{order:2}[dir=rtl] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.right{order:0}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.end{order:2}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar .fixed{position:fixed;width:100%;overflow-y:auto;height:100%}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content.center[_ngcontent-%COMP%]{max-width:100%;position:relative;margin-left:auto;margin-right:auto}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row;width:100%}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column{order:1;flex:1 0;min-width:0}[dir=ltr] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column.left{order:0}[dir=rtl] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column.left{order:2}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column.start{order:0}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] nb-layout-footer{display:block;margin-top:auto}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] nb-layout-footer nav{justify-content:center;display:flex}"]})}return o})(),Ff=(()=>{class o{set left(n){this.leftValue=Lt(n),this.startValue=!1}set start(n){this.startValue=Lt(n),this.leftValue=!1}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-layout-column"]],hostVars:4,hostBindings:function(s,l){2&s&&e.ekj("left",l.leftValue)("start",l.startValue)},inputs:{left:"left",start:"start"},ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return o})(),qh=(()=>{class o{constructor(n){this.layout=n}set fixed(n){this.fixedValue=Lt(n)}set subheader(n){this.subheaderValue=Lt(n),this.fixedValue=!1,this.layout.withSubheader=this.subheaderValue}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Jh))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-layout-header"]],hostVars:4,hostBindings:function(s,l){2&s&&e.ekj("fixed",l.fixedValue)("subheader",l.subheaderValue)},inputs:{fixed:"fixed",subheader:"subheader"},ngContentSelectors:wi,decls:2,vars:2,template:function(s,l){1&s&&(e.F$t(),e.TgZ(0,"nav"),e.Hsn(1),e.qZA()),2&s&&e.ekj("fixed",l.fixedValue)},encapsulation:2})}return o})(),hy=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({providers:[If],imports:[kr]})}return o})();const mn=new R.x,Xh=new H.t(1),e0=new H.t(1),tl=new H.t(1),t0=new H.t(1),n0=new H.t(1),kf=new H.t(1),Rc=new H.t(1);class Da{constructor(){this.pathMatch="full"}static getParents(d){const n=[];let s=d.parent;for(;s;)n.unshift(s),s=s.parent;return n}static isParent(d,n){return!!n.parent&&(n.parent===d||this.isParent(d,n.parent))}}let kl=(()=>{class o{addItems(n,s){Xh.next({tag:s,items:n})}collapseAll(n){Rc.next({tag:n})}navigateHome(n){e0.next({tag:n})}getSelectedItem(n){const s=new V.X(null);return tl.next({tag:n,listener:s}),s.asObservable()}onItemClick(){return mn.pipe((0,St.B)())}onItemSelect(){return t0.pipe((0,St.B)())}onItemHover(){return n0.pipe((0,St.B)())}onSubmenuToggle(){return kf.pipe((0,St.B)())}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Ll=(()=>{class o{constructor(n){this.location=n}prepareItems(n){const s=new Da;n.forEach(l=>{this.applyDefaults(l,s),this.setParent(l)})}selectFromUrl(n,s,l=!1){const g=this.findItemByUrl(n);g&&this.selectItem(g,n,l,s)}selectItem(n,s,l=!1,g){const T=this.resetSelection(s),we=l?this.collapseItems(s):[];for(const Ze of Da.getParents(n)){Ze.selected=!0,T.includes(Ze)||this.itemSelect(Ze,g);const ht=!Ze.expanded;Ze.expanded=!0;const yt=we.indexOf(Ze);-1===yt&&ht?this.submenuToggle(Ze,g):we.splice(yt,1)}n.selected=!0,T.includes(n)||this.itemSelect(n,g);for(const Ze of we)this.submenuToggle(Ze,g)}collapseAll(n,s,l){const g=this.collapseItems(n,l);for(const T of g)this.submenuToggle(T,s)}onAddItem(){return Xh.pipe((0,St.B)())}onNavigateHome(){return e0.pipe((0,St.B)())}onCollapseAll(){return Rc.pipe((0,St.B)())}onGetSelectedItem(){return tl.pipe((0,St.B)())}itemHover(n,s){n0.next({tag:s,item:n})}submenuToggle(n,s){kf.next({tag:s,item:n})}itemSelect(n,s){t0.next({tag:s,item:n})}itemClick(n,s){mn.next({tag:s,item:n})}resetSelection(n){const s=[];for(const l of n)l.selected&&s.push(l),l.selected=!1,l.children&&s.push(...this.resetSelection(l.children));return s}collapseItems(n,s){const l=[];for(const g of n)s&&(g===s||Da.isParent(g,s))||(g.expanded&&l.push(g),g.expanded=!1,g.children&&l.push(...this.collapseItems(g.children)));return l}applyDefaults(n,s){const l={...n};Object.assign(n,s,l),n.children&&n.children.forEach(g=>{this.applyDefaults(g,s)})}setParent(n){n.children&&n.children.forEach(s=>{s.parent=n,this.setParent(s)})}findItemByUrl(n){let s;return n.some(l=>(l.children&&(s=this.findItemByUrl(l.children)),!s&&this.isSelectedInUrl(l)&&(s=l),s)),s}isSelectedInUrl(n){const s="full"===n.pathMatch,l=n.link,g=s?function Sa(o,d){return d===el(o)}(this.location.path(),l):function xf(o,d){const n=el(o);return n.startsWith(d)&&-1!==n.slice(d.length).charAt(0).search(/\/|^$/)}(this.location.path(),l);return g&&null!=n.fragment?s?function Nf(o,d){return Qh(o)===d}(this.location.path(!0),n.fragment):function h_(o,d){return Qh(o).includes(d)}(this.location.path(!0),n.fragment):g}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(F.Ye))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Bl=(()=>{class o{get position(){return this._position}set position(n){this._position=n||this._defaultPosition}get dotMode(){return this._dotMode}set dotMode(n){this._dotMode=Lt(n)}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}get primary(){return"primary"===this.status}get success(){return"success"===this.status}get info(){return"info"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get top(){return this.position.includes("top")}get right(){return this.position.includes("right")}get bottom(){return this.position.includes("bottom")}get left(){return this.position.includes("left")}get start(){return this.position.includes("start")}get end(){return this.position.includes("end")}get center(){return this.position.includes("center")}constructor(n){this.statusService=n,this.text="",this._defaultPosition="top right",this._position=this._defaultPosition,this.status="basic"}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-badge"]],hostVars:32,hostBindings:function(s,l){2&s&&(e.Tol(l.additionalClasses),e.ekj("dot-mode",l.dotMode)("status-primary",l.primary)("status-success",l.success)("status-info",l.info)("status-warning",l.warning)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control)("position-top",l.top)("position-right",l.right)("position-bottom",l.bottom)("position-left",l.left)("position-start",l.start)("position-end",l.end)("position-center",l.center))},inputs:{text:"text",position:"position",dotMode:"dotMode",status:"status"},decls:1,vars:1,template:function(s,l){1&s&&e._uU(0),2&s&&e.Oqu(l.dotMode?"":l.text)},styles:["\n\n\n\n\n[_nghost-%COMP%]{position:absolute;text-align:center;white-space:nowrap;vertical-align:baseline}.position-top[_nghost-%COMP%]{top:0}.position-right[_nghost-%COMP%]{right:0}.position-bottom[_nghost-%COMP%]{bottom:0}.position-left[_nghost-%COMP%]{left:0}.position-center[_nghost-%COMP%]{top:50%;transform:translateY(-50%)}[dir=ltr] .position-start[_nghost-%COMP%]{left:0}[dir=rtl] .position-start[_nghost-%COMP%]{right:0}[dir=ltr] .position-end[_nghost-%COMP%]{right:0}[dir=rtl] .position-end[_nghost-%COMP%]{left:0}"]})}return o})();var oo=function(o){return o.Expanded="expanded",o.Collapsed="collapsed",o}(oo||{});let Zu=(()=>{class o{constructor(n,s){this.menuService=n,this.directionService=s,this.menuItem=null,this.hoverItem=new e.vpe,this.toggleSubMenu=new e.vpe,this.selectItem=new e.vpe,this.itemClick=new e.vpe,this.destroy$=new R.x}ngDoCheck(){this.toggleState=this.menuItem.expanded?oo.Expanded:oo.Collapsed}ngAfterViewInit(){this.menuService.onSubmenuToggle().pipe((0,$e.h)(({item:n})=>n===this.menuItem),(0,De.U)(({item:n})=>n.expanded),(0,be.R)(this.destroy$)).subscribe(n=>this.toggleState=n?oo.Expanded:oo.Collapsed)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onToggleSubMenu(n){this.toggleSubMenu.emit(n)}onHoverItem(n){this.hoverItem.emit(n)}onSelectItem(n){this.selectItem.emit(n)}onItemClick(n){this.itemClick.emit(n)}getExpandStateIcon(){return this.menuItem.expanded?"chevron-down-outline":this.directionService.isLtr()?"chevron-left-outline":"chevron-right-outline"}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(kl),e.Y36(Bi))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["","nbMenuItem",""]],inputs:{menuItem:"menuItem",badge:"badge"},outputs:{hoverItem:"hoverItem",toggleSubMenu:"toggleSubMenu",selectItem:"selectItem",itemClick:"itemClick"},attrs:pp,decls:8,vars:6,consts:[[4,"ngIf"],[3,"routerLink","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","active","mouseenter","click",4,"ngIf"],[3,"active","mouseenter","click",4,"ngIf"],["href","#",3,"active","click","mouseenter",4,"ngIf"],["class","menu-items",3,"collapsed","expanded",4,"ngIf"],["badgeTemplate",""],["class","menu-icon",3,"config",4,"ngIf"],[1,"menu-icon",3,"config"],[3,"routerLink","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","mouseenter","click"],[1,"menu-title"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"mouseenter","click"],["href","#",3,"click","mouseenter"],["pack","nebular-essentials",1,"expand-state",3,"icon"],[1,"menu-items"],[4,"ngFor","ngForOf"],["nbMenuItem","","class","menu-item",3,"menuItem","badge","menu-group","hoverItem","toggleSubMenu","selectItem","itemClick",4,"ngIf"],["nbMenuItem","",1,"menu-item",3,"menuItem","badge","hoverItem","toggleSubMenu","selectItem","itemClick"],[3,"text","dotMode","status"]],template:function(s,l){1&s&&e.YNc(0,mu,3,2,"span",0)(1,gp,5,14,"a",1)(2,Fv,5,9,"a",2)(3,th,5,8,"a",2)(4,Ga,6,10,"a",3)(5,yu,2,6,"ul",4)(6,Hg,1,3,"ng-template",null,5,e.W1O),2&s&&(e.Q6J("ngIf",l.menuItem.group),e.xp6(),e.Q6J("ngIf",l.menuItem.link&&!l.menuItem.url&&!l.menuItem.children&&!l.menuItem.group),e.xp6(),e.Q6J("ngIf",l.menuItem.url&&!l.menuItem.children&&!l.menuItem.link&&!l.menuItem.group),e.xp6(),e.Q6J("ngIf",!(l.menuItem.children||l.menuItem.link||l.menuItem.url||l.menuItem.group)),e.xp6(),e.Q6J("ngIf",l.menuItem.children),e.xp6(),e.Q6J("ngIf",l.menuItem.children))},dependencies:[F.sg,F.O5,F.tP,Ke.rH,di,Bl,o],encapsulation:2,data:{animation:[(0,Bt.X$)("toggle",[(0,Bt.SB)(oo.Collapsed,(0,Bt.oB)({height:"0",margin:"0"})),(0,Bt.SB)(oo.Expanded,(0,Bt.oB)({height:"*"})),(0,Bt.eR)(`${oo.Collapsed} <=> ${oo.Expanded}`,(0,Bt.jt)(300))])]}})}return o})(),kc=(()=>{class o{get autoCollapse(){return this._autoCollapse}set autoCollapse(n){this._autoCollapse=Lt(n)}constructor(n,s,l,g){this.window=n,this.platformId=s,this.menuInternalService=l,this.router=g,this._autoCollapse=!1,this.destroy$=new R.x}ngOnInit(){this.menuInternalService.prepareItems(this.items),this.menuInternalService.onAddItem().pipe((0,$e.h)(n=>this.compareTag(n.tag)),(0,be.R)(this.destroy$)).subscribe(n=>this.onAddItem(n)),this.menuInternalService.onNavigateHome().pipe((0,$e.h)(n=>this.compareTag(n.tag)),(0,be.R)(this.destroy$)).subscribe(()=>this.navigateHome()),this.menuInternalService.onGetSelectedItem().pipe((0,$e.h)(n=>this.compareTag(n.tag)),(0,be.R)(this.destroy$)).subscribe(n=>{n.listener.next({tag:this.tag,item:this.getSelectedItem(this.items)})}),this.menuInternalService.onCollapseAll().pipe((0,$e.h)(n=>this.compareTag(n.tag)),(0,be.R)(this.destroy$)).subscribe(()=>this.collapseAll()),this.router.events.pipe((0,$e.h)(n=>n instanceof Ke.m2),(0,be.R)(this.destroy$)).subscribe(()=>{this.menuInternalService.selectFromUrl(this.items,this.tag,this.autoCollapse)})}ngAfterViewInit(){setTimeout(()=>this.menuInternalService.selectFromUrl(this.items,this.tag,this.autoCollapse))}onAddItem(n){this.items.push(...n.items),this.menuInternalService.prepareItems(this.items),this.menuInternalService.selectFromUrl(this.items,this.tag,this.autoCollapse)}onHoverItem(n){this.menuInternalService.itemHover(n,this.tag)}onToggleSubMenu(n){this.autoCollapse&&this.menuInternalService.collapseAll(this.items,this.tag,n),n.expanded=!n.expanded,this.menuInternalService.submenuToggle(n,this.tag)}onSelectItem(n){this.menuInternalService.selectItem(n,this.items,this.autoCollapse,this.tag)}onItemClick(n){this.menuInternalService.itemClick(n,this.tag)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigateHome(){const n=this.getHomeItem(this.items);n&&(n.link&&this.router.navigate([n.link],{queryParams:n.queryParams,queryParamsHandling:n.queryParamsHandling,fragment:n.fragment,preserveFragment:n.preserveFragment}),n.url&&(0,F.NF)(this.platformId)&&(this.window.location.href=n.url))}collapseAll(){this.menuInternalService.collapseAll(this.items,this.tag)}getHomeItem(n){for(const s of n){if(s.home)return s;const l=s.children&&this.getHomeItem(s.children);if(l)return l}}compareTag(n){return!n||n===this.tag}getSelectedItem(n){let s=null;return n.forEach(l=>{l.selected&&(s=l),l.selected&&l.children&&l.children.length>0&&(s=this.getSelectedItem(l.children))}),s}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Ya),e.Y36(e.Lbi),e.Y36(Ll),e.Y36(Ke.F0))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-menu"]],inputs:{tag:"tag",items:"items",autoCollapse:"autoCollapse"},decls:2,vars:1,consts:[[1,"menu-items"],[4,"ngFor","ngForOf"],["nbMenuItem","","class","menu-item",3,"menuItem","badge","menu-group","hoverItem","toggleSubMenu","selectItem","itemClick",4,"ngIf"],["nbMenuItem","",1,"menu-item",3,"menuItem","badge","hoverItem","toggleSubMenu","selectItem","itemClick"]],template:function(s,l){1&s&&(e.TgZ(0,"ul",0),e.YNc(1,Cu,2,1,"ng-container",1),e.qZA()),2&s&&(e.xp6(),e.Q6J("ngForOf",l.items))},dependencies:[F.sg,F.O5,Zu],styles:["\n\n\n\n\n[_nghost-%COMP%] {display:block}[_nghost-%COMP%] .menu-items, [_nghost-%COMP%] .menu-item>.menu-items{list-style-type:none;overflow:hidden}[_nghost-%COMP%] .menu-item a{display:flex;text-decoration:none;align-items:center}[_nghost-%COMP%] .menu-item a .menu-title{flex:1 0 auto;pointer-events:none}[dir=rtl] [_nghost-%COMP%] .menu-item a .menu-title{text-align:right}[_nghost-%COMP%] .menu-item nb-badge{position:static}[_nghost-%COMP%] .menu-group span{display:flex}"]})}return o})(),Lc=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})();const g_=[kl,Ll];let Bf=(()=>{class o{static forRoot(){return{ngModule:o,providers:[...g_]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,Ts,Lc]})}return o})();const zf=new R.x,Vf=new R.x;let r0=(()=>{class o{constructor(){this.toggle$=new R.x,this.expand$=new R.x,this.collapse$=new R.x,this.compact$=new R.x}onToggle(){return this.toggle$.pipe((0,St.B)())}onExpand(){return this.expand$.pipe((0,St.B)())}onCollapse(){return this.collapse$.pipe((0,St.B)())}onCompact(){return this.compact$.pipe((0,St.B)())}toggle(n=!1,s){this.toggle$.next({compact:n,tag:s})}expand(n){this.expand$.next({tag:n})}collapse(n){this.collapse$.next({tag:n})}compact(n){this.compact$.next({tag:n})}getSidebarState(n){const s=new H.t(1);return zf.next({observer:s,tag:n}),s.pipe((0,Se.n)(),(0,Ee.x)())}getSidebarResponsiveState(n){const s=new H.t;return Vf.next({observer:s,tag:n}),s.pipe((0,Se.n)(),(0,Ee.x)())}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),$f=(()=>{class o{get expanded(){return"expanded"===this.state}get collapsed(){return"collapsed"===this.state}get compacted(){return"compacted"===this.state}set right(n){this.rightValue=Lt(n),this.leftValue=!this.rightValue,this.startValue=!1,this.endValue=!1}set left(n){this.leftValue=Lt(n),this.rightValue=!this.leftValue,this.startValue=!1,this.endValue=!1}set start(n){this.startValue=Lt(n),this.endValue=!this.startValue,this.leftValue=!1,this.rightValue=!1}set end(n){this.endValue=Lt(n),this.startValue=!this.endValue,this.leftValue=!1,this.rightValue=!1}set fixed(n){this.fixedValue=Lt(n)}set containerFixed(n){this.containerFixedValue=Lt(n)}get state(){return this._state}set state(n){this._state=n}get responsive(){return this._responsive}set responsive(n){this.responsive!==Lt(n)&&(this._responsive=!this.responsive,this.responsiveValueChange$.next(this.responsive))}constructor(n,s,l,g){this.sidebarService=n,this.themeService=s,this.element=l,this.cd=g,this.responsiveValueChange$=new R.x,this.responsiveState="pc",this.destroy$=new R.x,this.containerFixedValue=!0,this.fixedValue=!1,this.rightValue=!1,this.leftValue=!0,this.startValue=!1,this.endValue=!1,this._state="expanded",this._responsive=!1,this.compactedBreakpoints=["xs","is","sm","md","lg"],this.collapsedBreakpoints=["xs","is"],this.stateChange=new e.vpe,this.responsiveStateChange=new e.vpe}ngOnInit(){this.sidebarService.onToggle().pipe((0,$e.h)(({tag:n})=>!this.tag||this.tag===n),(0,be.R)(this.destroy$)).subscribe(({compact:n})=>this.toggle(n)),this.sidebarService.onExpand().pipe((0,$e.h)(({tag:n})=>!this.tag||this.tag===n),(0,be.R)(this.destroy$)).subscribe(()=>this.expand()),this.sidebarService.onCollapse().pipe((0,$e.h)(({tag:n})=>!this.tag||this.tag===n),(0,be.R)(this.destroy$)).subscribe(()=>this.collapse()),this.sidebarService.onCompact().pipe((0,$e.h)(({tag:n})=>!this.tag||this.tag===n),(0,be.R)(this.destroy$)).subscribe(()=>this.compact()),zf.pipe((0,$e.h)(({tag:n})=>!this.tag||this.tag===n),(0,be.R)(this.destroy$)).subscribe(({observer:n})=>n.next(this.state)),Vf.pipe((0,$e.h)(({tag:n})=>!this.tag||this.tag===n),(0,be.R)(this.destroy$)).subscribe(({observer:n})=>n.next(this.responsiveState)),this.responsiveValueChange$.pipe((0,$e.h)(n=>!n),(0,be.R)(this.destroy$)).subscribe(()=>this.expand()),this.subscribeToMediaQueryChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onClick(n){const s=this.element.nativeElement.querySelector("nb-menu");if(s&&s.contains(n.target)){const l=this.getMenuLink(n.target);l&&l.nextElementSibling&&l.nextElementSibling.classList.contains("menu-items")&&this.sidebarService.expand(this.tag)}}collapse(){this.updateState("collapsed")}expand(){this.updateState("expanded")}compact(){this.updateState("compacted")}toggle(n=!1){this.responsive&&"mobile"===this.responsiveState&&(n=!1),this.updateState("compacted"===this.state||"collapsed"===this.state?"expanded":n?"compacted":"collapsed")}subscribeToMediaQueryChange(){(0,X.a)([this.responsiveValueChange$.pipe((0,Fe.O)(this.responsive)),this.themeService.onMediaQueryChange()]).pipe((0,$e.h)(([n])=>n),(0,De.U)(([,n])=>n),(0,be.R)(this.destroy$)).subscribe(([n,s])=>{const l=this.collapsedBreakpoints.includes(s.name),g=this.compactedBreakpoints.includes(s.name);let T;g&&(this.fixed=this.containerFixedValue,this.compact(),T="tablet"),l&&(this.fixed=!0,this.collapse(),T="mobile"),!l&&!g&&(!n.width||n.width {class o{static forRoot(){return{ngModule:o,providers:[...Os]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr]})}return o})(),jf=(()=>{class o{constructor(n){this.templateRef=n}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbTabContent",""]]})}return o})(),v_=(()=>{class o{constructor(n){this.templateRef=n}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbTabTitle",""]]})}return o})(),Bc=(()=>{class o{constructor(){this.activeValue=!1,this.responsiveValue=!1,this.disabledValue=!1,this.badgeStatus="basic",this.init=!1}get badgeDot(){return this._badgeDot}set badgeDot(n){this._badgeDot=Lt(n)}get disabled(){return this.disabledValue}set disabled(n){this.disabledValue=Lt(n)}set responsive(n){this.responsiveValue=Lt(n)}get responsive(){return this.responsiveValue}get active(){return this.activeValue}set active(n){this.activeValue=Lt(n),this.activeValue&&(this.init=!0)}set lazyLoad(n){this.init=Lt(n)}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-tab"]],contentQueries:function(s,l,g){if(1&s&&(e.Suo(g,jf,5),e.Suo(g,v_,5)),2&s){let T;e.iGM(T=e.CRH())&&(l.tabContentDirective=T.first),e.iGM(T=e.CRH())&&(l.tabTitleDirective=T.first)}},hostVars:4,hostBindings:function(s,l){2&s&&e.ekj("disabled",l.disabled)("content-active",l.activeValue)},inputs:{tabTitle:"tabTitle",tabId:"tabId",badgeDot:"badgeDot",tabIcon:"tabIcon",disabled:"disabled",responsive:"responsive",route:"route",active:"active",lazyLoad:"lazyLoad",badgeText:"badgeText",badgeStatus:"badgeStatus",badgePosition:"badgePosition"},ngContentSelectors:wi,decls:3,vars:2,consts:[[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["projectedContent",""],[3,"ngTemplateOutlet"]],template:function(s,l){if(1&s&&(e.F$t(),e.YNc(0,Wg,1,1,"ng-container",0)(1,sh,1,0,"ng-template",null,1,e.W1O)),2&s){const g=e.MAs(2);e.Q6J("ngIf",l.tabContentDirective)("ngIfElse",g)}},dependencies:[F.O5,F.tP],encapsulation:2})}return o})(),s0=(()=>{class o{set fullWidth(n){this.fullWidthValue=Lt(n)}constructor(n,s){this.route=n,this.changeDetectorRef=s,this.fullWidthValue=!1,this.changeTab=new e.vpe,this.destroy$=new R.x}ngAfterContentInit(){this.route.params.pipe((0,De.U)(n=>this.tabs.find(s=>this.routeParam?s.route===n[this.routeParam]:s.active)),(0,At.g)(0),(0,De.U)(n=>n||this.tabs.first),(0,$e.h)(n=>!!n),(0,be.R)(this.destroy$)).subscribe(n=>{this.selectTab(n),this.changeDetectorRef.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}selectTab(n){n.disabled||(this.tabs.forEach(s=>s.active=s===n),this.changeTab.emit(n))}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Ke.gz),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-tabset"]],contentQueries:function(s,l,g){if(1&s&&e.Suo(g,Bc,4),2&s){let T;e.iGM(T=e.CRH())&&(l.tabs=T)}},hostVars:2,hostBindings:function(s,l){2&s&&e.ekj("full-width",l.fullWidthValue)},inputs:{fullWidth:"fullWidth",routeParam:"routeParam"},outputs:{changeTab:"changeTab"},ngContentSelectors:Qg,decls:3,vars:1,consts:[[1,"tabset"],["class","tab",3,"responsive","active","disabled","click","keyup.space","keyup.enter",4,"ngFor","ngForOf"],[1,"tab",3,"click","keyup.space","keyup.enter"],["href","","tabindex","-1",1,"tab-link",3,"click"],[3,"config",4,"ngIf"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["textTitleTemplate",""],[3,"text","dotMode","status","position",4,"ngIf"],[3,"config"],[3,"ngTemplateOutlet"],[1,"tab-text"],[3,"text","dotMode","status","position"]],template:function(s,l){1&s&&(e.F$t(bp),e.TgZ(0,"ul",0),e.YNc(1,Kg,7,12,"li",1),e.qZA(),e.Hsn(2)),2&s&&(e.xp6(),e.Q6J("ngForOf",l.tabs))},dependencies:[F.sg,F.O5,F.tP,Bl,di],styles:['\n\n\n\n\n[_nghost-%COMP%]{display:block}.full-width[_nghost-%COMP%] .tabset[_ngcontent-%COMP%]{justify-content:space-around}[_nghost-%COMP%] nb-tab{flex:1;-ms-flex:1 1 auto;overflow:auto;display:none}[_nghost-%COMP%] nb-tab.content-active{display:block}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%]{display:flex;flex-direction:row;list-style-type:none;margin:0;padding:0}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{margin-bottom:-1px;text-align:center;position:relative}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:block}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;position:relative;text-decoration:none}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{position:absolute;content:"";width:100%;border-radius:3px;bottom:-2px;left:0}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{vertical-align:middle}[dir=ltr] [_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-left:.5rem}[dir=rtl] [_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-right:.5rem}']})}return o})(),y_=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,Lc,Ts]})}return o})(),o0=(()=>{class o{set picture(n){this.imageBackgroundStyle=n?this.domSanitizer.bypassSecurityTrustStyle(`url(${n})`):null}get showName(){return this._showName}set showName(n){this._showName=Lt(n)}get showTitle(){return this._showTitle}set showTitle(n){this._showTitle=Lt(n)}get showInitials(){return this._showInitials}set showInitials(n){this._showInitials=Lt(n)}get onlyPicture(){return!this.showName&&!this.showTitle}set onlyPicture(n){this.showName=this.showTitle=!Lt(n)}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get rectangle(){return"rectangle"===this.shape}get semiRound(){return"semi-round"===this.shape}get round(){return"round"===this.shape}constructor(n){this.domSanitizer=n,this.name="Anonymous",this.size="medium",this.shape="round",this._showName=!0,this._showTitle=!0,this._showInitials=!0,this.badgeStatus="basic"}getInitials(){return this.name?this.name.split(" ").map(s=>s.charAt(0)).splice(0,2).join("").toUpperCase():""}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Rr.H7))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-user"]],hostVars:16,hostBindings:function(s,l){2&s&&e.ekj("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant)("shape-rectangle",l.rectangle)("shape-semi-round",l.semiRound)("shape-round",l.round)},inputs:{name:"name",title:"title",picture:"picture",color:"color",size:"size",shape:"shape",showName:"showName",showTitle:"showTitle",showInitials:"showInitials",onlyPicture:"onlyPicture",badgeText:"badgeText",badgeStatus:"badgeStatus",badgePosition:"badgePosition"},decls:6,vars:4,consts:[[1,"user-container"],["class","user-picture image",3,"background-image",4,"ngIf"],["class","user-picture initials",3,"background-color",4,"ngIf"],[1,"info-container"],["class","user-name",4,"ngIf"],["class","user-title",4,"ngIf"],[1,"user-picture","image"],[3,"text","status","position",4,"ngIf"],[3,"text","status","position"],[1,"user-picture","initials"],[4,"ngIf"],[1,"user-name"],[1,"user-title"]],template:function(s,l){1&s&&(e.TgZ(0,"div",0),e.YNc(1,Jg,2,3,"div",1)(2,wp,3,4,"div",2),e.TgZ(3,"div",3),e.YNc(4,Sp,2,1,"div",4)(5,$s,2,1,"div",5),e.qZA()()),2&s&&(e.xp6(),e.Q6J("ngIf",l.imageBackgroundStyle),e.xp6(),e.Q6J("ngIf",!l.imageBackgroundStyle),e.xp6(2),e.Q6J("ngIf",l.showName&&l.name),e.xp6(),e.Q6J("ngIf",l.showTitle&&l.title))},dependencies:[F.O5,Bl],styles:["\n\n\n\n\n[_nghost-%COMP%]{display:flex}[_nghost-%COMP%] .user-container[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}[_nghost-%COMP%] .user-picture[_ngcontent-%COMP%]{position:relative;flex-shrink:0}[_nghost-%COMP%] .user-picture.image[_ngcontent-%COMP%]{background-size:cover;background-repeat:no-repeat}[_nghost-%COMP%] .user-picture.initials[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[dir=rtl] [_nghost-%COMP%] .user-name[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .user-title[_ngcontent-%COMP%]{text-align:right}[dir=ltr] [_nghost-%COMP%] .info-container[_ngcontent-%COMP%]{margin-left:.5rem}[dir=rtl] [_nghost-%COMP%] .info-container[_ngcontent-%COMP%]{margin-right:.5rem}"]})}return o})(),C_=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,Lc]})}return o})(),Wf=(()=>{class o{get checked(){return this._checked}set checked(n){this._checked=Lt(n)}get disabled(){return this._disabled}set disabled(n){this._disabled=Lt(n)}get indeterminate(){return this._indeterminate}set indeterminate(n){this._indeterminate=Lt(n)}get primary(){return"primary"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get info(){return"info"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}constructor(n,s,l,g,T){this.changeDetector=n,this.renderer=s,this.hostElement=l,this.zone=g,this.statusService=T,this.onChange=()=>{},this.onTouched=()=>{},this._checked=!1,this._disabled=!1,this.status="basic",this._indeterminate=!1,this.checkedChange=new e.vpe}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.hostElement.nativeElement,"nb-transition")}))}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}writeValue(n){this._checked=n,this.changeDetector.markForCheck()}setDisabledState(n){this.disabled=Lt(n),this.changeDetector.markForCheck()}setTouched(){this.onTouched()}updateValueAndIndeterminate(n){const s=n.target;this.checked=s.checked,this.checkedChange.emit(this.checked),this.onChange(this.checked),this.indeterminate=s.indeterminate}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-checkbox"]],hostVars:16,hostBindings:function(s,l){2&s&&(e.Tol(l.additionalClasses),e.ekj("status-primary",l.primary)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-info",l.info)("status-basic",l.basic)("status-control",l.control))},inputs:{checked:"checked",disabled:"disabled",status:"status",indeterminate:"indeterminate"},outputs:{checkedChange:"checkedChange"},features:[e._Bn([{provide:ke.JU,useExisting:(0,e.Gpc)(()=>o),multi:!0}])],ngContentSelectors:wi,decls:7,vars:9,consts:[[1,"label"],["type","checkbox",1,"native-input","visually-hidden",3,"disabled","checked","indeterminate","change","blur","click"],[1,"custom-checkbox"],["icon","minus-bold-outline","pack","nebular-essentials","class","custom-checkbox-icon",4,"ngIf"],["icon","checkmark-bold-outline","pack","nebular-essentials","class","custom-checkbox-icon",4,"ngIf"],[1,"text"],["icon","minus-bold-outline","pack","nebular-essentials",1,"custom-checkbox-icon"],["icon","checkmark-bold-outline","pack","nebular-essentials",1,"custom-checkbox-icon"]],template:function(s,l){1&s&&(e.F$t(),e.TgZ(0,"label",0)(1,"input",1),e.NdJ("change",function(T){return l.updateValueAndIndeterminate(T)})("blur",function(){return l.setTouched()})("click",function(T){return T.stopPropagation()}),e.qZA(),e.TgZ(2,"span",2),e.YNc(3,Ep,1,0,"nb-icon",3)(4,ch,1,0,"nb-icon",4),e.qZA(),e.TgZ(5,"span",5),e.Hsn(6),e.qZA()()),2&s&&(e.xp6(),e.Q6J("disabled",l.disabled)("checked",l.checked)("indeterminate",l.indeterminate),e.xp6(),e.ekj("indeterminate",l.indeterminate)("checked",l.checked),e.xp6(),e.Q6J("ngIf",l.indeterminate),e.xp6(),e.Q6J("ngIf",l.checked&&!l.indeterminate))},dependencies:[F.O5,di],styles:["\n\n\n\n\n[_nghost-%COMP%] .label[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;margin:0;min-height:inherit}[_nghost-%COMP%] .custom-checkbox[_ngcontent-%COMP%]{flex-shrink:0}.nb-transition[_nghost-%COMP%] .custom-checkbox[_ngcontent-%COMP%]{transition-duration:.15s;transition-property:background-color,border,box-shadow;transition-timing-function:ease-in}.nb-transition[_nghost-%COMP%] .text[_ngcontent-%COMP%]{transition-duration:.15s;transition-property:color;transition-timing-function:ease-in}"],changeDetection:0})}return o})(),Yf=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,Ts]})}return o})(),zc=(()=>{class o{get isAttached(){return this.ref&&this.ref.hasAttached()}get isShown(){return this.isShown$.pipe((0,nt.x)())}constructor(n,s,l,g){this.overlay=n,this.componentFactoryResolver=s,this.zone=l,this.overlayContainer=g,this.context={},this.overlayConfig={},this.disabled=!1,this.positionStrategyChange$=new R.x,this.isShown$=new V.X(!1),this.destroy$=new R.x,this.overlayDestroy$=new R.x}create(n,s,l,g,T={},we=!1){return this.setContentAndContext(s,l),this.setComponent(n),this.setPositionStrategy(g),this.setOverlayConfig(T),this.setDisabled(we),this}setContent(n){this.content=n,this.container&&this.updateContext(),this.updatePosition()}setContext(n){this.context=n,this.container&&this.updateContext(),this.updatePosition()}setContentAndContext(n,s){this.content=n,this.context=s,this.container&&this.updateContext(),this.updatePosition()}setComponent(n){this.componentType=n;const s=this.isAttached;this.disposeOverlayRef(),s&&this.show()}setPositionStrategy(n){this.positionStrategyChange$.next(),this.positionStrategy=n,this.positionStrategy.positionChange.pipe((0,$e.h)(()=>!!this.container),(0,be.R)((0,P.T)(this.positionStrategyChange$,this.destroy$))).subscribe(s=>{this.lastAppliedPosition=s,Il(this.container,{position:s})}),this.ref&&this.ref.updatePositionStrategy(this.positionStrategy)}setOverlayConfig(n){this.overlayConfig=n;const s=this.isAttached;this.disposeOverlayRef(),s&&this.show()}setDisabled(n){n&&this.isShown$.value&&this.hide(),this.disabled=n}show(){if(!this.disabled){if(this.ref||this.createOverlay(),this.renderContainer(),!this.hasOverlayInContainer())return this.disposeOverlayRef(),this.show();this.isShown$.next(!0)}}hide(){this.ref&&(this.ref.detach(),this.container=null,this.isShown$.next(!1))}toggle(){this.isAttached?this.hide():this.show()}dispose(){this.destroy$.next(),this.destroy$.complete(),this.hide(),this.disposeOverlayRef(),this.isShown$.complete(),this.positionStrategyChange$.complete(),this.overlayDestroy$.complete()}getContainer(){return this.container}createOverlay(){this.ref=this.overlay.create({positionStrategy:this.positionStrategy,scrollStrategy:this.overlay.scrollStrategies.reposition(),...this.overlayConfig}),this.updatePositionWhenStable(this.ref)}renderContainer(){const n=this.createContainerContext();this.container||(this.container=function zh(o,d,n,s){const l=o.attach(new Wo(d,null,null,s));return Il(l,n),l}(this.ref,this.componentType,n,this.componentFactoryResolver)),this.container.instance.renderContent()}updateContext(){const n=this.createContainerContext();Object.assign(this.container.instance,n),this.container.instance.renderContent(),this.container.changeDetectorRef.detectChanges()}createContainerContext(){return{content:this.content,context:this.context,cfr:this.componentFactoryResolver,position:this.lastAppliedPosition}}updatePositionWhenStable(n){const s=this.overlayDestroy$.pipe((0,$e.h)(l=>l===n));this.zone.onStable.pipe((0,Xe.q)(1),(0,be.R)((0,P.T)(this.destroy$,s))).subscribe(()=>this.updatePosition())}updatePosition(){this.ref&&this.ref.updatePosition()}hasOverlayInContainer(){return this.overlayContainer.getContainerElement().contains(this.ref.hostElement)}disposeOverlayRef(){this.ref&&(this.ref.dispose(),this.overlayDestroy$.next(this.ref),this.ref=null,this.container=null)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Ca),e.LFG(e._Vd),e.LFG(e.R0b),e.LFG(Nl))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})();class ao extends e.WD2{constructor(d,n,s=!1){super(d,n,s)}isChanged(){return this.currentValue!==this.previousValue}}let Ko=(()=>{class o{constructor(n,s,l,g){this.positionBuilder=n,this.triggerStrategyBuilder=s,this.dynamicOverlayService=l,this.directionService=g,this._context={},this._trigger=ds.NOOP,this._disabled=!1,this._position=It.TOP,this._adjustment=Ds.NOOP,this._offset=15,this._overlayConfig={},this.changes={},this.destroy$=new R.x}host(n){return this.changes.host=new ao(this._host,n),this._host=n,this}trigger(n){return this.changes.trigger=new ao(this._trigger,n),this._trigger=n,this}disabled(n){return this.changes.disabled=new ao(this._disabled,n),this._disabled=n,this}position(n){return this.changes.position=new ao(this._position,n),this._position=n,this}adjustment(n){return this.changes.adjustment=new ao(this._adjustment,n),this._adjustment=n,this}componentType(n){return this.changes.componentType=new ao(this._componentType,n),this._componentType=n,this}content(n){return this.changes.content=new ao(this._content,n),this._content=n,this}context(n){return this.changes.context=new ao(this._context,n),this._context=n,this}offset(n){return this.changes.offset=new ao(this._offset,n),this._offset=n,this}overlayConfig(n){return this.changes.overlayConfig=new ao(this._overlayConfig,n),this._overlayConfig=n,this}build(){if(!this._componentType||!this._host)throw Error("NbDynamicOverlayHandler: at least 'componentType' and 'host' should be\n passed before building a dynamic overlay.");return this.dynamicOverlay=this.dynamicOverlayService.create(this._componentType,this._content,this._context,this.createPositionStrategy(),this._overlayConfig,this._disabled),this.connect(),this.clearChanges(),this.dynamicOverlay}rebuild(){if(this.dynamicOverlay)return this.isPositionStrategyUpdateRequired()&&this.dynamicOverlay.setPositionStrategy(this.createPositionStrategy()),this.isTriggerStrategyUpdateRequired()&&this.connect(),this.isContainerRerenderRequired()&&this.dynamicOverlay.setContentAndContext(this._content,this._context),this.isComponentTypeUpdateRequired()&&this.dynamicOverlay.setComponent(this._componentType),this.isOverlayConfigUpdateRequired()&&this.dynamicOverlay.setOverlayConfig(this._overlayConfig),this.isDisabledUpdated()&&this.dynamicOverlay.setDisabled(this._disabled),this.clearChanges(),this.dynamicOverlay}connect(){if(!this.dynamicOverlay)throw new Error("NbDynamicOverlayHandler: cannot connect to DynamicOverlay\n as it is not created yet. Call build() first");this.disconnect(),this.subscribeOnTriggers(this.dynamicOverlay),this.subscribeOnDirectionChange()}disconnect(){this.triggerStrategy&&this.triggerStrategy.destroy()}destroy(){this.destroy$.next(),this.destroy$.complete(),this.disconnect(),this.clearChanges(),this.dynamicOverlay&&this.dynamicOverlay.dispose()}createPositionStrategy(){return this.positionBuilder.connectedTo(this._host).position(this._position).adjustment(this._adjustment).offset(this._offset).direction(this.directionService.getDirection())}subscribeOnTriggers(n){this.triggerStrategy=this.triggerStrategyBuilder.trigger(this._trigger).host(this._host.nativeElement).container(()=>n.getContainer()).build(),this.triggerStrategy.show$.subscribe(()=>n.show()),this.triggerStrategy.hide$.subscribe(()=>n.hide())}subscribeOnDirectionChange(){this.directionService.onDirectionChange().pipe(Oe(1),(0,be.R)(this.destroy$)).subscribe(()=>{this.dynamicOverlay.setPositionStrategy(this.createPositionStrategy())})}isContainerRerenderRequired(){return this.isContentUpdated()||this.isContextUpdated()||this.isPositionStrategyUpdateRequired()}isPositionStrategyUpdateRequired(){return this.isAdjustmentUpdated()||this.isPositionUpdated()||this.isOffsetUpdated()||this.isHostUpdated()}isTriggerStrategyUpdateRequired(){return this.isTriggerUpdated()||this.isHostUpdated()}isComponentTypeUpdateRequired(){return this.isComponentTypeUpdated()}isOverlayConfigUpdateRequired(){return this.isOverlayConfigUpdated()}isComponentTypeUpdated(){return this.changes.componentType&&this.changes.componentType.isChanged()}isContentUpdated(){return this.changes.content&&this.changes.content.isChanged()}isContextUpdated(){return this.changes.context&&this.changes.context.isChanged()}isAdjustmentUpdated(){return this.changes.adjustment&&this.changes.adjustment.isChanged()}isPositionUpdated(){return this.changes.position&&this.changes.position.isChanged()}isHostUpdated(){return this.changes.host&&this.changes.host.isChanged()}isTriggerUpdated(){return this.changes.trigger&&this.changes.trigger.isChanged()}isOffsetUpdated(){return this.changes.offset&&this.changes.offset.isChanged()}isOverlayConfigUpdated(){return this.changes.overlayConfig&&this.changes.overlayConfig.isChanged()}isDisabledUpdated(){return this.changes.disabled&&this.changes.disabled.isChanged()}clearChanges(){this.changes={}}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Es),e.LFG(Ac),e.LFG(zc),e.LFG(Bi))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),l0=(()=>{class o extends Bh{renderContent(){this.detachContent(),this.attachContent()}detachContent(){this.overlayContainer.detach()}attachContent(){this.content instanceof e.Rgc?this.attachTemplate():this.content instanceof e.DyG?this.attachComponent():this.attachString()}attachTemplate(){this.overlayContainer.attachTemplatePortal(new Rh(this.content,null,{$implicit:this.context}))}attachComponent(){const n=new Wo(this.content,null,null,this.cfr);this.overlayContainer.attachComponentPortal(n,this.context).changeDetectorRef.detectChanges()}attachString(){this.overlayContainer.attachStringContent(this.content)}static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-popover"]],viewQuery:function(s,l){if(1&s&&e.Gf(zu,5),2&s){let g;e.iGM(g=e.CRH())&&(l.overlayContainer=g.first)}},inputs:{content:"content",context:"context",cfr:"cfr"},features:[e.qOj],decls:2,vars:0,consts:[[1,"arrow"]],template:function(s,l){1&s&&e._UZ(0,"span",0)(1,"nb-overlay-container")},dependencies:[zu],styles:["\n\n\n\n\n[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0}"]})}return o})(),wy=(()=>{class o{get adjustment(){return this._adjustment}set adjustment(n){this._adjustment=n}get popoverClass(){return this._popoverClass}set popoverClass(n){n!==this.popoverClass&&(this._popoverClass=n,this.overlayConfig={panelClass:this.popoverClass})}get isShown(){return!(!this.dynamicOverlay||!this.dynamicOverlay.isAttached)}constructor(n,s){this.hostRef=n,this.dynamicOverlayHandler=s,this.popoverComponent=l0,this.destroy$=new R.x,this.context={},this.position=It.TOP,this._adjustment=Ds.CLOCKWISE,this.trigger=ds.CLICK,this.offset=15,this.disabled=!1,this._popoverClass="",this.nbPopoverShowStateChange=new e.vpe,this.overlayConfig={panelClass:this.popoverClass}}ngOnInit(){this.dynamicOverlayHandler.host(this.hostRef).componentType(this.popoverComponent)}ngOnChanges(){this.rebuild()}ngAfterViewInit(){this.dynamicOverlay=this.configureDynamicOverlay().build(),this.dynamicOverlay.isShown.pipe(Oe(1),(0,be.R)(this.destroy$)).subscribe(n=>this.nbPopoverShowStateChange.emit({isShown:n}))}rebuild(){this.dynamicOverlay=this.configureDynamicOverlay().rebuild()}show(){this.dynamicOverlay.show()}hide(){this.dynamicOverlay.hide()}toggle(){this.dynamicOverlay.toggle()}ngOnDestroy(){this.dynamicOverlayHandler.destroy(),this.destroy$.next(),this.destroy$.complete()}configureDynamicOverlay(){return this.dynamicOverlayHandler.position(this.position).trigger(this.trigger).disabled(this.disabled).offset(this.offset).adjustment(this.adjustment).content(this.content).context(this.context).overlayConfig(this.overlayConfig)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(Ko))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbPopover",""]],inputs:{content:[e.lbL.None,"nbPopover","content"],context:[e.lbL.None,"nbPopoverContext","context"],position:[e.lbL.None,"nbPopoverPlacement","position"],adjustment:[e.lbL.None,"nbPopoverAdjustment","adjustment"],trigger:[e.lbL.None,"nbPopoverTrigger","trigger"],offset:[e.lbL.None,"nbPopoverOffset","offset"],disabled:[e.lbL.None,"nbTooltipDisabled","disabled"],popoverClass:[e.lbL.None,"nbPopoverClass","popoverClass"]},outputs:{nbPopoverShowStateChange:"nbPopoverShowStateChange"},exportAs:["nbPopover"],features:[e._Bn([Ko,zc]),e.TTD]})}return o})(),Zf=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[so]})}return o})(),Kf=(()=>{class o extends Bh{constructor(){super(...arguments),this.items=[],this.context={items:[]}}renderContent(){}static#e=this.\u0275fac=(()=>{let n;return function(l){return(n||(n=e.n5z(o)))(l||o)}})();static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-context-menu"]],inputs:{items:"items",tag:"tag",context:"context"},features:[e.qOj],decls:1,vars:2,consts:[[1,"context-menu",3,"items","tag"]],template:function(s,l){1&s&&e._UZ(0,"nb-menu",0),2&s&&e.Q6J("items",l.context.items)("tag",l.context.tag)},dependencies:[kc],encapsulation:2})}return o})(),Qf=(()=>{class o{get position(){return this._position}set position(n){n!==this.position&&(this._position=n,this.updateOverlayContext())}get tag(){return this._tag}set tag(n){n!==this.tag&&(this._tag=n,this.updateOverlayContext())}get items(){return this._items}set items(n){this.validateItems(n),this._items=n,this.updateOverlayContext()}get contextMenuClass(){return this._contextMenuClass}set contextMenuClass(n){n!==this.contextMenuClass&&(this._contextMenuClass=n,this.overlayConfig={panelClass:this.contextMenuClass})}constructor(n,s,l){this.hostRef=n,this.menuService=s,this.dynamicOverlayHandler=l,this.contextMenuHost=!0,this._position=It.BOTTOM,this.adjustment=Ds.CLOCKWISE,this.trigger=ds.CLICK,this._contextMenuClass="",this.overlayConfig={panelClass:this.contextMenuClass},this.overlayContext={items:this.items,tag:this.tag,position:this.position},this.destroy$=new R.x,this._items=[]}ngOnInit(){this.dynamicOverlayHandler.host(this.hostRef).componentType(Kf)}ngOnChanges(){this.rebuild()}ngAfterViewInit(){this.dynamicOverlay=this.configureDynamicOverlay().build(),this.subscribeOnItemClick()}rebuild(){this.dynamicOverlay=this.configureDynamicOverlay().rebuild()}show(){this.dynamicOverlay.show()}hide(){this.dynamicOverlay.hide()}toggle(){this.dynamicOverlay.toggle()}ngOnDestroy(){this.dynamicOverlayHandler.destroy(),this.destroy$.next(),this.destroy$.complete()}configureDynamicOverlay(){return this.dynamicOverlayHandler.position(this.position).trigger(this.trigger).adjustment(this.adjustment).context(this.overlayContext).overlayConfig(this.overlayConfig)}validateItems(n){if(!n||!n.length)throw Error(`List of menu items expected, but given: ${n}`)}subscribeOnItemClick(){this.menuService.onItemClick().pipe((0,$e.h)(({tag:n})=>n===this.tag&&this.trigger!==ds.NOOP),(0,be.R)(this.destroy$)).subscribe(()=>this.hide())}updateOverlayContext(){this.overlayContext={items:this.items,position:this.position,tag:this.tag}}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(kl),e.Y36(Ko))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbContextMenu",""]],hostVars:2,hostBindings:function(s,l){2&s&&e.ekj("context-menu-host",l.contextMenuHost)},inputs:{position:[e.lbL.None,"nbContextMenuPlacement","position"],adjustment:[e.lbL.None,"nbContextMenuAdjustment","adjustment"],tag:[e.lbL.None,"nbContextMenuTag","tag"],items:[e.lbL.None,"nbContextMenu","items"],trigger:[e.lbL.None,"nbContextMenuTrigger","trigger"],contextMenuClass:[e.lbL.None,"nbContextMenuClass","contextMenuClass"]},features:[e._Bn([Ko,zc]),e.TTD]})}return o})(),Ku=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,so,Bf]})}return o})(),Vc=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Qu=(()=>{class o{constructor(){this.supportsPrefix=!0,this.supportsSuffix=!0}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Hc=(()=>{class o{get fullWidth(){return this._fullWidth}set fullWidth(n){this._fullWidth=Lt(n)}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}constructor(n,s,l,g,T){this.elementRef=n,this.focusMonitor=s,this.renderer=l,this.zone=g,this.statusService=T,this.destroy$=new R.x,this.fieldSize="medium",this.status="basic",this.shape="rectangle",this._fullWidth=!1,this.status$=new V.X(this.status),this.size$=new V.X(this.fieldSize),this.focused$=new V.X(!1),this.disabled$=new V.X(!1),this.fullWidth$=new V.X(this.fullWidth)}ngDoCheck(){const n=this.elementRef.nativeElement.disabled;n!==this.disabled$.value&&this.disabled$.next(n)}ngOnChanges({status:n,fieldSize:s,fullWidth:l}){n&&this.status$.next(this.status),s&&this.size$.next(this.fieldSize),l&&this.fullWidth$.next(this.fullWidth)}ngOnInit(){this.focusMonitor.monitor(this.elementRef).pipe((0,De.U)(n=>!!n),(0,ct.x)(()=>this.focusMonitor.stopMonitoring(this.elementRef)),(0,be.R)(this.destroy$)).subscribe(this.focused$)}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.elementRef.nativeElement,"nb-transition")}))}ngOnDestroy(){this.destroy$.next()}get tiny(){return"tiny"===this.fieldSize}get small(){return"small"===this.fieldSize}get medium(){return"medium"===this.fieldSize}get large(){return"large"===this.fieldSize}get giant(){return"giant"===this.fieldSize}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get rectangle(){return"rectangle"===this.shape}get semiRound(){return"semi-round"===this.shape}get round(){return"round"===this.shape}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(Pl),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["input","nbInput",""],["textarea","nbInput",""]],hostVars:34,hostBindings:function(s,l){2&s&&(e.Tol(l.additionalClasses),e.ekj("input-full-width",l.fullWidth)("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant)("status-primary",l.primary)("status-info",l.info)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control)("shape-rectangle",l.rectangle)("shape-semi-round",l.semiRound)("shape-round",l.round))},inputs:{fieldSize:"fieldSize",status:"status",shape:"shape",fullWidth:"fullWidth"},features:[e._Bn([{provide:Vc,useExisting:o}]),e.TTD]})}return o})(),e1=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr]})}return o})(),t1=(()=>{class o{get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}constructor(n){this.statusService=n,this.message="Loading...",this.size="medium",this.status="basic"}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-spinner"]],hostVars:26,hostBindings:function(s,l){2&s&&(e.Tol(l.additionalClasses),e.ekj("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant)("status-primary",l.primary)("status-info",l.info)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control))},inputs:{message:"message",size:"size",status:"status"},decls:2,vars:1,consts:[[1,"spin-circle"],["class","message",4,"ngIf"],[1,"message"]],template:function(s,l){1&s&&(e._UZ(0,"span",0),e.YNc(1,wu,2,1,"span",1)),2&s&&(e.xp6(),e.Q6J("ngIf",l.message))},dependencies:[F.O5],styles:["\n\n\n\n\n[_nghost-%COMP%]{opacity:1;position:absolute;border-radius:inherit;inset:0;overflow:hidden;z-index:9999;display:flex;justify-content:center;align-items:center;visibility:visible}[_nghost-%COMP%] .spin-circle[_ngcontent-%COMP%]{animation:spin .8s infinite linear;border-radius:50%;border-style:solid;border-width:.125em;width:1em;height:1em}[_nghost-%COMP%] .message[_ngcontent-%COMP%]{margin-left:.5rem}"]})}return o})(),Oy=(()=>{class o{set nbSpinner(n){this.componentFactory?n?this.show():this.hide():this.shouldShow=n}constructor(n,s,l,g){this.directiveView=n,this.componentFactoryResolver=s,this.renderer=l,this.directiveElement=g,this.shouldShow=!1,this.spinnerStatus="basic",this.spinnerSize="medium",this.isSpinnerExist=!1}ngOnInit(){this.componentFactory=this.componentFactoryResolver.resolveComponentFactory(t1),this.shouldShow&&this.show()}hide(){this.isSpinnerExist&&(this.directiveView.remove(),this.isSpinnerExist=!1)}show(){this.isSpinnerExist||(this.spinner=this.directiveView.createComponent(this.componentFactory),this.setInstanceInputs(this.spinner.instance),this.spinner.changeDetectorRef.detectChanges(),this.renderer.appendChild(this.directiveElement.nativeElement,this.spinner.location.nativeElement),this.isSpinnerExist=!0)}setInstanceInputs(n){n.message=this.spinnerMessage,typeof this.spinnerStatus<"u"&&(n.status=this.spinnerStatus),typeof this.spinnerSize<"u"&&(n.size=this.spinnerSize)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.s_b),e.Y36(e._Vd),e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbSpinner",""]],hostVars:2,hostBindings:function(s,l){2&s&&e.ekj("nb-spinner-container",l.isSpinnerExist)},inputs:{spinnerMessage:[e.lbL.None,"nbSpinnerMessage","spinnerMessage"],spinnerStatus:[e.lbL.None,"nbSpinnerStatus","spinnerStatus"],spinnerSize:[e.lbL.None,"nbSpinnerSize","spinnerSize"],nbSpinner:"nbSpinner"}})}return o})(),S_=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr]})}return o})();new e.OlP("Nebular Stepper Component");let nl=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,Ts]})}return o})(),g0=(()=>{class o{constructor(){this.openCloseItems=new R.x,this.multiValue=!1}get multi(){return this.multiValue}set multi(n){this.multiValue=Lt(n)}openAll(){this.multi&&this.openCloseItems.next(!1)}closeAll(){this.openCloseItems.next(!0)}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-accordion"]],inputs:{multi:"multi"},ngContentSelectors:pm,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(hm),e.Hsn(0))},encapsulation:2,changeDetection:0})}return o})(),Hl=(()=>{class o{get collapsed(){return this.collapsedValue}set collapsed(n){this.collapsedValue=Lt(n),this.collapsedChange.emit(this.collapsedValue),this.invalidate()}get expanded(){return!this.collapsed}set expanded(n){this.collapsedValue=!Lt(n)}get disabled(){return this.disabledValue}set disabled(n){this.disabledValue=Lt(n),this.invalidate()}constructor(n,s){this.accordion=n,this.cd=s,this.collapsedChange=new e.vpe,this.accordionItemInvalidate=new R.x,this.collapsedValue=!0,this.disabledValue=!1,this.destroy$=new R.x}toggle(){if(!this.disabled){const n=!this.collapsed;this.accordion.multi||this.accordion.openCloseItems.next(!0),this.collapsed=n}}open(){!this.disabled&&(this.collapsed=!1)}close(){!this.disabled&&(this.collapsed=!0)}ngOnInit(){this.accordion.openCloseItems.pipe((0,be.R)(this.destroy$)).subscribe(n=>{!this.disabled&&(this.collapsed=n)})}ngOnChanges(n){this.accordionItemInvalidate.next(!0)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.accordionItemInvalidate.complete()}invalidate(){this.accordionItemInvalidate.next(!0),this.cd.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(g0,1),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-accordion-item"]],hostVars:6,hostBindings:function(s,l){2&s&&e.ekj("collapsed",l.collapsed)("expanded",l.expanded)("disabled",l.disabled)},inputs:{collapsed:"collapsed",expanded:"expanded",disabled:"disabled"},outputs:{collapsedChange:"collapsedChange"},features:[e.TTD],ngContentSelectors:mh,decls:2,vars:0,template:function(s,l){1&s&&(e.F$t(zp),e.Hsn(0),e.Hsn(1,1))},styles:["\n\n\n\n\n[_nghost-%COMP%]{display:flex;flex-direction:column}"],changeDetection:0})}return o})();const To=(0,Bt.X$)("accordionItemBody",[(0,Bt.SB)("collapsed",(0,Bt.oB)({overflow:"hidden",visibility:"hidden",height:0})),(0,Bt.SB)("expanded",(0,Bt.oB)({overflow:"hidden",visibility:"visible"})),(0,Bt.eR)("collapsed => expanded",(0,Bt.jt)("100ms ease-in")),(0,Bt.eR)("expanded => collapsed",(0,Bt.jt)("100ms ease-out"))]);let m0=(()=>{class o{constructor(n,s){this.accordionItem=n,this.cd=s,this.destroy$=new R.x}get state(){return this.accordionItem.collapsed?"collapsed":"expanded"}ngOnInit(){this.accordionItem.accordionItemInvalidate.pipe((0,be.R)(this.destroy$)).subscribe(()=>this.cd.markForCheck())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Hl,1),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-accordion-item-body"]],ngContentSelectors:wi,decls:3,vars:3,consts:[[1,"item-body"]],template:function(s,l){1&s&&(e.F$t(),e.TgZ(0,"div")(1,"div",0),e.Hsn(2),e.qZA()()),2&s&&e.Q6J("@accordionItemBody",e.VKq(1,fm,l.state))},encapsulation:2,data:{animation:[To]},changeDetection:0})}return o})(),n1=(()=>{class o{get isCollapsed(){return this.accordionItem.collapsed}get expanded(){return!this.accordionItem.collapsed}get tabbable(){return this.accordionItem.disabled?"-1":"0"}get disabled(){return this.accordionItem.disabled}toggle(){this.accordionItem.toggle()}get state(){return this.isCollapsed?"collapsed":"expanded"}constructor(n,s){this.accordionItem=n,this.cd=s,this.destroy$=new R.x}ngOnInit(){this.accordionItem.accordionItemInvalidate.pipe((0,be.R)(this.destroy$)).subscribe(()=>this.cd.markForCheck())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Hl,1),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-accordion-item-header"]],hostVars:7,hostBindings:function(s,l){1&s&&e.NdJ("click",function(){return l.toggle()})("keydown.space",function(){return l.toggle()})("keydown.enter",function(){return l.toggle()}),2&s&&(e.uIk("aria-expanded",l.expanded)("tabindex",l.tabbable)("aria-disabled",l.disabled),e.ekj("accordion-item-header-collapsed",l.isCollapsed)("accordion-item-header-expanded",l.expanded))},ngContentSelectors:Vp,decls:4,vars:1,consts:[["icon","chevron-down-outline","pack","nebular-essentials","class","expansion-indicator",4,"ngIf"],["icon","chevron-down-outline","pack","nebular-essentials",1,"expansion-indicator"]],template:function(s,l){1&s&&(e.F$t(mm),e.Hsn(0),e.Hsn(1,1),e.Hsn(2,2),e.YNc(3,gm,1,1,"nb-icon",0)),2&s&&(e.xp6(3),e.Q6J("ngIf",!l.disabled))},dependencies:[F.O5,di],styles:["\n\n\n\n\n[_nghost-%COMP%]{display:flex;align-items:center;cursor:pointer}[_nghost-%COMP%]:focus{outline:0}"],data:{animation:[(0,Bt.X$)("expansionIndicator",[(0,Bt.SB)("expanded",(0,Bt.oB)({transform:"rotate(180deg)"})),(0,Bt.eR)("collapsed => expanded",(0,Bt.jt)("100ms ease-in")),(0,Bt.eR)("expanded => collapsed",(0,Bt.jt)("100ms ease-out"))])]},changeDetection:0})}return o})(),zi=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,Ts]})}return o})();const r1=new e.OlP("NB_BUTTON_GROUP");let Xu=(()=>{class o extends Wu{get pressedChange$(){return this._pressedChange$.asObservable()}get pressed(){return this._pressed}set pressed(n){this.pressed!==Lt(n)&&(this._pressed=!this.pressed,this.pressedChange.emit(this.pressed),this._pressedChange$.next({source:this,pressed:this.pressed}))}get basic(){return!this.pressed}get primary(){return this.pressed&&("basic"===this.status||"primary"===this.status)}get success(){return this.pressed&&"success"===this.status}get info(){return this.pressed&&"info"===this.status}get warning(){return this.pressed&&"warning"===this.status}get danger(){return this.pressed&&"danger"===this.status}get control(){return this.pressed&&"control"===this.status}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}onClick(){(this.buttonGroup?.multiple||!this.pressed)&&(this.pressed=!this.pressed)}constructor(n,s,l,g,T,we){super(n,s,l,g,T),this.renderer=n,this.hostElement=s,this.cd=l,this.zone=g,this.statusService=T,this.buttonGroup=we,this._pressedChange$=new R.x,this.appearance="filled",this._pressed=!1,this.pressedChange=new e.vpe}_updatePressed(n){this.pressed=n,this.cd.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(Ni),e.Y36(r1,8))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["button","nbButtonToggle",""]],hostVars:17,hostBindings:function(s,l){1&s&&e.NdJ("click",function(){return l.onClick()}),2&s&&(e.uIk("aria-pressed",l.pressed),e.Tol(l.additionalClasses),e.ekj("status-basic",l.basic)("status-primary",l.primary)("status-success",l.success)("status-info",l.info)("status-warning",l.warning)("status-danger",l.danger)("status-control",l.control))},inputs:{appearance:"appearance",value:"value",pressed:"pressed"},outputs:{pressedChange:"pressedChange"},exportAs:["nbButtonToggle"],features:[e._Bn([{provide:Wu,useExisting:o}]),e.qOj]})}return o})(),E_=(()=>{class o{get disabled(){return this._disabled}set disabled(n){this.disabled!==Lt(n)&&(this._disabled=!this.disabled)}get multiple(){return this._multiple}set multiple(n){this._multiple=Lt(n)}get filled(){return"filled"===this.appearance}set filled(n){Lt(n)&&(this.appearance="filled")}get outline(){return"outline"===this.appearance}set outline(n){Lt(n)&&(this.appearance="outline")}get ghost(){return"ghost"===this.appearance}set ghost(n){Lt(n)&&(this.appearance="ghost")}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}constructor(n,s){this.cd=n,this.statusService=s,this.lastEmittedValue=[],this.destroy$=new R.x,this.buttonsChange$=new R.x,this.size="medium",this.status="basic",this.shape="rectangle",this.appearance="filled",this._disabled=!1,this._multiple=!1,this.valueChange=new e.vpe,this.role="group"}ngOnChanges({size:n,status:s,shape:l,multiple:g,filled:T,outline:we,ghost:Ze,disabled:ht}){(n||s||l||g||T||we||Ze||ht)&&this.syncButtonsProperties(this.buttons?.toArray()||[])}ngAfterContentInit(){this.buttonsChange$.pipe((0,be.R)(this.destroy$)).subscribe(n=>{this.listenButtonPressedState(n),this.syncButtonsProperties(n)}),this.buttons.changes.pipe((0,me.w)(n=>(0,ne.D)(Promise.resolve(n.toArray()))),(0,be.R)(this.destroy$)).subscribe(this.buttonsChange$),this.buttonsChange$.next(this.buttons.toArray())}listenButtonPressedState(n){const s=n.filter(g=>g instanceof Xu);if(!s.length)return;const l=s.map(g=>g.pressedChange$);(0,P.T)(...l).pipe((0,$e.h)(({pressed:g})=>!this.multiple&&g),(0,be.R)((0,P.T)(this.buttonsChange$,this.destroy$))).subscribe(({source:g})=>{s.filter(T=>T!==g).forEach(T=>T._updatePressed(!1))}),(0,P.T)(...l).pipe((0,Fe.O)(""),(0,Be.b)(0),(0,be.R)((0,P.T)(this.buttonsChange$,this.destroy$))).subscribe(()=>this.emitCurrentValue(s))}syncButtonsProperties(n){n.forEach(s=>{s.updateProperties({appearance:this.appearance,size:this.size,status:this.status,shape:this.shape,disabled:this.disabled})})}emitCurrentValue(n){const s=n.filter(l=>l.pressed&&typeof l.value<"u").map(l=>l.value);0===s.length&&0===this.lastEmittedValue.length||(this.valueChange.emit(s),this.lastEmittedValue=s)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.sBO),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-button-group"]],contentQueries:function(s,l,g){if(1&s&&e.Suo(g,Wu,4),2&s){let T;e.iGM(T=e.CRH())&&(l.buttons=T)}},hostVars:3,hostBindings:function(s,l){2&s&&(e.uIk("role",l.role),e.Tol(l.additionalClasses))},inputs:{size:"size",status:"status",shape:"shape",appearance:"appearance",disabled:"disabled",multiple:"multiple",filled:"filled",outline:"outline",ghost:"ghost"},outputs:{valueChange:"valueChange"},features:[e._Bn([{provide:r1,useExisting:o}]),e.TTD],ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return o})(),T_=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})(),v0=(()=>{class o{get elementScroll(){return!this.windowScroll}set throttleTime(n){this.throttleTime$.next(n)}get throttleTime(){return this.throttleTime$.value}set listenWindowScroll(n){this.windowScroll=Lt(n)}onElementScroll(){this.elementScroll&&this.elementScroll$.next()}constructor(n,s,l){this.elementRef=n,this.scrollService=s,this.dimensionsService=l,this.destroy$=new R.x,this.windowScroll=!1,this.elementScroll$=new R.x,this.windowScroll$=this.scrollService.onScroll().pipe((0,$e.h)(()=>this.windowScroll)),this.bottomThreshold$=new R.x,this.topThreshold$=new R.x,this.throttleTime$=new V.X(0),this.bottomThreshold=new e.vpe(!0),this.topThreshold=new e.vpe(!0)}ngAfterViewInit(){(0,P.T)(this.windowScroll$,this.elementScroll$).pipe((0,me.w)(()=>this.getContainerDimensions()),(0,be.R)(this.destroy$)).subscribe(n=>this.checkPosition(n)),this.throttleTime$.pipe((0,me.w)(()=>this.topThreshold$.pipe(We(()=>(0,ve.F)(this.throttleTime)))),(0,be.R)(this.destroy$)).subscribe(()=>{this.topThreshold.emit()}),this.throttleTime$.pipe((0,me.w)(()=>this.bottomThreshold$.pipe(We(()=>(0,ve.F)(this.throttleTime)))),(0,be.R)(this.destroy$)).subscribe(()=>{this.bottomThreshold.emit()}),this.listItems.changes.pipe((0,me.w)(()=>(0,ve.F)(50).pipe((0,$e.h)(()=>this.inSyncWithDom()),(0,Xe.q)(1),(0,be.R)((0,re.H)(1e3)))),(0,me.w)(()=>this.getContainerDimensions()),(0,be.R)(this.destroy$)).subscribe(n=>this.checkPosition(n)),this.getContainerDimensions().subscribe(n=>this.checkPosition(n))}ngOnDestroy(){this.topThreshold$.complete(),this.bottomThreshold$.complete(),this.elementScroll$.complete(),this.destroy$.next(),this.destroy$.complete()}checkPosition({scrollHeight:n,scrollTop:s,clientHeight:l}){const g=null==this.lastScrollPosition,we=s this.lastScrollPosition)&&n-s-l<=this.threshold&&this.bottomThreshold$.next(),(g||we)&&s<=this.threshold&&this.topThreshold$.next(),this.lastScrollPosition=s}getContainerDimensions(){if(this.elementScroll){const{scrollTop:n,scrollHeight:s,clientHeight:l}=this.elementRef.nativeElement;return(0,q.of)({scrollTop:n,scrollHeight:s,clientHeight:l})}return(0,le.D)([this.scrollService.getPosition(),this.dimensionsService.getDimensions()]).pipe((0,De.U)(([n,s])=>({scrollTop:n.y,scrollHeight:s.scrollHeight,clientHeight:s.clientHeight})))}inSyncWithDom(){return this.elementRef.nativeElement.children.length===this.listItems.length}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(Ka),e.Y36(Iu))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbInfiniteList",""]],contentQueries:function(s,l,g){if(1&s&&e.Suo(g,wa,4),2&s){let T;e.iGM(T=e.CRH())&&(l.listItems=T)}},hostBindings:function(s,l){1&s&&e.NdJ("scroll",function(){return l.onElementScroll()})},inputs:{threshold:"threshold",throttleTime:"throttleTime",listenWindowScroll:"listenWindowScroll"},outputs:{bottomThreshold:"bottomThreshold",topThreshold:"topThreshold"}})}return o})(),P_=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({})}return o})();new e.OlP("NB_SORT_HEADER_COLUMN_DEF");const id=new e.OlP("Default dialog options");class rd{constructor(d){this.hasBackdrop=!0,this.backdropClass="overlay-backdrop",this.dialogClass="",this.closeOnBackdropClick=!0,this.closeOnEsc=!0,this.hasScroll=!1,this.autoFocus=!0,Object.assign(this,d)}}class $c{constructor(d){this.overlayRef=d,this.onClose$=new R.x,this.onClose=this.onClose$.asObservable(),this.onBackdropClick=this.overlayRef.backdropClick()}close(d){this.overlayRef.detach(),this.overlayRef.dispose(),this.onClose$.next(d),this.onClose$.complete()}}let U_=(()=>{class o{constructor(n,s,l){this.config=n,this.elementRef=s,this.focusTrapFactory=l}ngOnInit(){this.config.autoFocus&&(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement),this.focusTrap.blurPreviouslyFocusedElement(),this.focusTrap.focusInitialElement())}ngOnDestroy(){this.config.autoFocus&&this.focusTrap&&this.focusTrap.restoreFocus()}attachComponentPortal(n){return this.portalOutlet.attachComponentPortal(n)}attachTemplatePortal(n){return this.portalOutlet.attachTemplatePortal(n)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(rd),e.Y36(e.SBq),e.Y36(Nh))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-dialog-container"]],viewQuery:function(s,l){if(1&s&&e.Gf(Tc,7),2&s){let g;e.iGM(g=e.CRH())&&(l.portalOutlet=g.first)}},decls:1,vars:0,consts:[["nbPortalOutlet",""]],template:function(s,l){1&s&&e.YNc(0,_m,0,0,"ng-template",0)},dependencies:[Tc],encapsulation:2})}return o})(),v1=(()=>{class o{constructor(n,s,l,g,T,we){this.document=n,this.globalConfig=s,this.positionBuilder=l,this.overlay=g,this.injector=T,this.cfr=we}open(n,s={}){const l=new rd({...this.globalConfig,...s}),g=this.createOverlay(l),T=new $c(g),we=this.createContainer(l,g);return this.createContent(l,n,we,T),this.registerCloseListeners(l,g,T),T}createOverlay(n){const s=this.createPositionStrategy(),l=this.createScrollStrategy(n.hasScroll);return this.overlay.create({positionStrategy:s,scrollStrategy:l,hasBackdrop:n.hasBackdrop,backdropClass:n.backdropClass,panelClass:n.dialogClass})}createPositionStrategy(){return this.positionBuilder.global().centerVertically().centerHorizontally()}createScrollStrategy(n){return n?this.overlay.scrollStrategies.noop():this.overlay.scrollStrategies.block()}createContainer(n,s){const l=new Qa(this.createInjector(n),new WeakMap([[rd,n]])),g=new Wo(U_,null,l,this.cfr);return s.attach(g).instance}createContent(n,s,l,g){if(s instanceof e.Rgc){const T=this.createTemplatePortal(n,s,g);l.attachTemplatePortal(T)}else{const T=this.createComponentPortal(n,s,g);g.componentRef=l.attachComponentPortal(T),n.context&&Object.assign(g.componentRef.instance,{...n.context})}}createTemplatePortal(n,s,l){return new Rh(s,null,{$implicit:n.context,dialogRef:l})}createComponentPortal(n,s,l){const g=this.createInjector(n),T=new Qa(g,new WeakMap([[$c,l]]));return new Wo(s,n.viewContainerRef,T)}createInjector(n){return n.viewContainerRef&&n.viewContainerRef.injector||this.injector}registerCloseListeners(n,s,l){n.closeOnBackdropClick&&s.backdropClick().subscribe(()=>l.close()),n.closeOnEsc&&(0,ie.R)(this.document,"keyup").pipe((0,$e.h)(g=>27===g.keyCode),(0,be.R)(l.onClose)).subscribe(()=>l.close())}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Sr),e.LFG(id),e.LFG(Es),e.LFG(Ca),e.LFG(e.zs3),e.LFG(e._Vd))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Ry=(()=>{class o{static forRoot(n={}){return{ngModule:o,providers:[v1,{provide:id,useValue:n}]}}static forChild(n={}){return{ngModule:o,providers:[v1,{provide:id,useValue:n}]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,so]})}return o})(),y1=(()=>{class o{get success(){return"success"===this.toast.config.status}get info(){return"info"===this.toast.config.status}get warning(){return"warning"===this.toast.config.status}get primary(){return"primary"===this.toast.config.status}get danger(){return"danger"===this.toast.config.status}get basic(){return"basic"===this.toast.config.status}get control(){return"control"===this.toast.config.status}get destroyByClick(){return this.toast.config.destroyByClick}get hasIcon(){const{icon:n}=this.toast.config;return"string"==typeof n||!(!n||!n.icon)}get customIcon(){return!!this.icon}get icon(){return this.toast.config.icon}get additionalClasses(){return this.statusService.isCustomStatus(this.toast.config.status)?[this.statusService.getStatusClass(this.toast.config.status)]:[]}onClick(){this.toastClick.emit()}constructor(n,s,l){this.renderer=n,this.elementRef=s,this.statusService=l,this.destroy=new e.vpe,this.toastClick=new e.vpe}ngOnInit(){this.toast.config.toastClass&&this.renderer.addClass(this.elementRef.nativeElement,this.toast.config.toastClass)}ngOnDestroy(){this.destroy.emit()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-toast"]],hostVars:22,hostBindings:function(s,l){1&s&&e.NdJ("click",function(){return l.onClick()}),2&s&&(e.Tol(l.additionalClasses),e.ekj("status-success",l.success)("status-info",l.info)("status-warning",l.warning)("status-primary",l.primary)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control)("destroy-by-click",l.destroyByClick)("has-icon",l.hasIcon)("custom-icon",l.customIcon))},inputs:{toast:"toast"},outputs:{destroy:"destroy",toastClick:"toastClick"},decls:6,vars:3,consts:[["class","icon-container",4,"ngIf"],[1,"content-container"],[1,"title","subtitle"],[1,"message"],[1,"icon-container"],[3,"config"]],template:function(s,l){1&s&&(e.YNc(0,vm,2,1,"div",0),e.TgZ(1,"div",1)(2,"span",2),e._uU(3),e.qZA(),e.TgZ(4,"div",3),e._uU(5),e.qZA()()),2&s&&(e.Q6J("ngIf",l.hasIcon&&l.icon),e.xp6(3),e.Oqu(l.toast.title),e.xp6(2),e.Oqu(l.toast.message))},dependencies:[F.O5,di],styles:["\n\n\n\n\n[_nghost-%COMP%]{display:flex;align-items:center;width:25rem;margin:.5rem}[_nghost-%COMP%] .title[_ngcontent-%COMP%]{margin-right:.25rem}.default[_nghost-%COMP%] .content-container[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.has-icon) .content-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.destroy-by-click[_nghost-%COMP%]{cursor:pointer}[_nghost-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}[_nghost-%COMP%] svg[_ngcontent-%COMP%]{width:2.5rem;height:2.5rem}"]})}return o})();const C1=(0,Bt.oB)({transform:"translateX({{ direction }}110%)",height:0,marginLeft:"0",marginRight:"0",marginTop:"0",marginBottom:"0"}),$_={params:{direction:""}};let j_=(()=>{class o{constructor(n,s){this.layoutDirection=n,this.positionHelper=s,this.destroy$=new R.x,this.content=[]}ngOnInit(){this.layoutDirection.onDirectionChange().pipe((0,be.R)(this.destroy$)).subscribe(()=>this.onDirectionChange())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onDirectionChange(){const n=this.positionHelper.isRightPosition(this.position)?"":"-";this.fadeIn={value:"",params:{direction:n}}}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Bi),e.Y36(lf))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-toastr-container"]],viewQuery:function(s,l){if(1&s&&e.Gf(y1,5),2&s){let g;e.iGM(g=e.CRH())&&(l.toasts=g)}},inputs:{content:"content",context:"context",position:"position"},decls:1,vars:1,consts:[[3,"toast",4,"ngFor","ngForOf"],[3,"toast"]],template:function(s,l){1&s&&e.YNc(0,us,1,2,"nb-toast",0),2&s&&e.Q6J("ngForOf",l.content)},dependencies:[F.sg,y1],encapsulation:2,data:{animation:[(0,Bt.X$)("fadeIn",[(0,Bt.eR)(":enter",[C1,(0,Bt.jt)(100)],$_),(0,Bt.eR)(":leave",[(0,Bt.jt)(100,C1)],$_)])]}})}return o})();const G_=new e.OlP("Default toastr options");class W_{constructor(d){this.position=si.TOP_END,this.status="basic",this.duration=3e3,this.destroyByClick=!0,this.preventDuplicates=!1,this.duplicatesBehaviour="previous",this.limit=null,this.toastClass="",this.hasIcon=!0,this.icon="email",this.icons={danger:"flash-outline",success:"checkmark-outline",info:"question-mark-outline",warning:"alert-triangle-outline",primary:"email-outline",control:"email-outline",basic:"email-outline"},this.patchIcon(d),Object.assign(this,d)}patchIcon(d){"icon"in d||(d.icon={icon:this.icons[d.status]||this.icons.basic,pack:"nebular-essentials"})}}class Y_{constructor(d,n){this.toastContainer=d,this.toast=n}close(){this.toastContainer.destroy(this.toast)}onClose(){return this.toastInstance.destroy.asObservable()}onClick(){return this.toastInstance.toastClick.asObservable()}}class Z_{get nativeElement(){return this.containerRef.location.nativeElement}constructor(d,n,s){this.position=d,this.containerRef=n,this.positionHelper=s,this.toasts=[],this.toastDuplicateCompareFunc=(l,g)=>l.message===g.message&&l.title===g.title&&l.config.status===g.config.status}attach(d){if(d.config.preventDuplicates&&this.isDuplicate(d))return;this.removeToastIfLimitReached(d);const n=this.attachToast(d);d.config.destroyByClick&&this.subscribeOnClick(n,d),d.config.duration&&this.setDestroyTimeout(d),this.prevToast=d;const s=new Y_(this,d);return s.toastInstance=n,s}destroy(d){this.prevToast===d&&(this.prevToast=null),this.toasts=this.toasts.filter(n=>n!==d),this.updateContainer()}isDuplicate(d){return"previous"===d.config.duplicatesBehaviour?this.isDuplicatePrevious(d):this.isDuplicateAmongAll(d)}isDuplicatePrevious(d){return this.prevToast&&this.toastDuplicateCompareFunc(this.prevToast,d)}isDuplicateAmongAll(d){return this.toasts.some(n=>this.toastDuplicateCompareFunc(n,d))}removeToastIfLimitReached(d){!d.config.limit||this.toasts.length this.destroy(d),d.config.duration)}subscribeOnClick(d,n){d.toastClick.pipe((0,$e.h)(()=>n.config.destroyByClick),(0,be.R)(d.destroy)).subscribe(()=>this.destroy(n))}updateContainer(){Il(this.containerRef,{content:this.toasts,position:this.position})}}let sd=(()=>{class o{constructor(n,s,l,g,T){this.overlay=n,this.positionBuilder=s,this.positionHelper=l,this.cfr=g,this.document=T,this.overlays=new Map}get(n){const s=this.positionHelper.toLogicalPosition(n),l=this.overlays.get(s);return(!l||!this.existsInDom(l.toastrContainer))&&(l&&l.overlayRef.dispose(),this.instantiateContainer(s)),this.overlays.get(s).toastrContainer}instantiateContainer(n){const s=this.createContainer(n);this.overlays.set(n,s)}createContainer(n){const s=this.positionBuilder.global().position(n),l=this.overlay.create({positionStrategy:s});this.addClassToOverlayHost(l);const g=l.attach(new Wo(j_,null,null,this.cfr));return{overlayRef:l,toastrContainer:new Z_(n,g,this.positionHelper)}}addClassToOverlayHost(n){n.hostElement.classList.add("toastr-overlay-container")}existsInDom(n){return this.document.body.contains(n.nativeElement)}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(Ca),e.LFG(Es),e.LFG(lf),e.LFG(e._Vd),e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),Wl=(()=>{class o{constructor(n,s){this.globalConfig=n,this.containerRegistry=s}show(n,s,l){const g=new W_({...this.globalConfig,...l});return this.containerRegistry.get(g.position).attach({message:n,title:s,config:g})}success(n,s,l){return this.show(n,s,{...l,status:"success"})}info(n,s,l){return this.show(n,s,{...l,status:"info"})}warning(n,s,l){return this.show(n,s,{...l,status:"warning"})}primary(n,s,l){return this.show(n,s,{...l,status:"primary"})}danger(n,s,l){return this.show(n,s,{...l,status:"danger"})}default(n,s,l){return this.show(n,s,{...l,status:"basic"})}control(n,s,l){return this.default(n,s,{...l,status:"control"})}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(G_),e.LFG(sd))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),E0=(()=>{class o{static forRoot(n={}){return{ngModule:o,providers:[Wl,sd,{provide:G_,useValue:n}]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,so,Ts]})}return o})(),b1=(()=>{class o{get binding(){return`${this.position} ${this.statusClass}`}get show(){return!0}get statusClass(){return this.context.status?this.statusService.getStatusClass(this.context.status):""}constructor(n){this.statusService=n,this.position=It.TOP,this.context={}}renderContent(){}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-tooltip"]],hostVars:3,hostBindings:function(s,l){2&s&&(e.d8E("@showTooltip",l.show),e.Tol(l.binding))},inputs:{content:"content",position:"position",context:"context"},decls:4,vars:2,consts:[[1,"arrow"],[1,"content"],[3,"config",4,"ngIf"],[4,"ngIf"],[3,"config"]],template:function(s,l){1&s&&(e._UZ(0,"span",0),e.TgZ(1,"div",1),e.YNc(2,_h,1,1,"nb-icon",2)(3,Hp,2,1,"span",3),e.qZA()),2&s&&(e.xp6(2),e.Q6J("ngIf",null==l.context?null:l.context.icon),e.xp6(),e.Q6J("ngIf",l.content))},dependencies:[F.O5,di],styles:["\n\n\n\n\n[_nghost-%COMP%]{z-index:10000}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{display:flex;align-items:center}.right[_nghost-%COMP%] .content[_ngcontent-%COMP%]{flex-direction:row-reverse}[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0}[_nghost-%COMP%] nb-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-left:.5rem}.right[_nghost-%COMP%] nb-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-right:.5rem}[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{border-left:6px solid transparent;border-right:6px solid transparent}.bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{top:-6px;left:calc(50% - 6px)}.bottom-start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{top:-6px}[dir=ltr] .bottom-start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:6px}[dir=rtl] .bottom-start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:6px}.bottom-end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{top:-6px}[dir=ltr] .bottom-end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:6px}[dir=rtl] .bottom-end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:6px}.left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{top:calc(50% - 2.4px)}[dir=ltr] .left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], [dir=ltr] .start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:-8px;transform:rotate(90deg)}[dir=rtl] .left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], [dir=rtl] .start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:-8px;transform:rotate(270deg)}.start-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:-8px;bottom:6px;transform:rotate(90deg)}.start-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:-8px;top:6px;transform:rotate(90deg)}.top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{bottom:-6px;left:calc(50% - 6px);transform:rotate(180deg)}.top-start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{bottom:-5px;transform:rotate(180deg)}[dir=ltr] .top-start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:6px}[dir=rtl] .top-start[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:6px}.top-end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{bottom:-5px;transform:rotate(180deg)}[dir=ltr] .top-end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:6px}[dir=rtl] .top-end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:6px}.right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{top:calc(50% - 2.4px)}[dir=ltr] .right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], [dir=ltr] .end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:-8px;transform:rotate(270deg)}[dir=rtl] .right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], [dir=rtl] .end[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{right:-8px;transform:rotate(90deg)}.end-top[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:-8.4px;bottom:6px;transform:rotate(270deg)}.end-bottom[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{left:-8.4px;top:6px;transform:rotate(270deg)}"],data:{animation:[(0,Bt.X$)("showTooltip",[(0,Bt.SB)("in",(0,Bt.oB)({opacity:1})),(0,Bt.eR)("void => *",[(0,Bt.oB)({opacity:0}),(0,Bt.jt)(100)]),(0,Bt.eR)("* => void",[(0,Bt.jt)(100,(0,Bt.oB)({opacity:0}))])])]}})}return o})(),jc=(()=>{class o{get adjustment(){return this._adjustment}set adjustment(n){this._adjustment=n}get tooltipClass(){return this._tooltipClass}set tooltipClass(n){n!==this.tooltipClass&&(this._tooltipClass=n,this.overlayConfig={panelClass:this.tooltipClass})}set icon(n){this.context=Object.assign(this.context,{icon:n})}set status(n){this.context=Object.assign(this.context,{status:n})}get isShown(){return!(!this.dynamicOverlay||!this.dynamicOverlay.isAttached)}constructor(n,s){this.hostRef=n,this.dynamicOverlayHandler=s,this.destroy$=new R.x,this.tooltipComponent=b1,this.context={},this.position=It.TOP,this._adjustment=Ds.CLOCKWISE,this._tooltipClass="",this.trigger=ds.HINT,this.offset=8,this.disabled=!1,this.nbTooltipShowStateChange=new e.vpe,this.overlayConfig={panelClass:this.tooltipClass}}ngOnInit(){this.dynamicOverlayHandler.host(this.hostRef).componentType(this.tooltipComponent).offset(this.offset)}ngOnChanges(){this.rebuild()}ngAfterViewInit(){this.dynamicOverlay=this.configureDynamicOverlay().build(),this.dynamicOverlay.isShown.pipe(Oe(1),(0,be.R)(this.destroy$)).subscribe(n=>this.nbTooltipShowStateChange.emit({isShown:n}))}rebuild(){this.dynamicOverlay=this.configureDynamicOverlay().rebuild()}show(){this.dynamicOverlay.show()}hide(){this.dynamicOverlay.hide()}toggle(){this.dynamicOverlay.toggle()}ngOnDestroy(){this.dynamicOverlayHandler.destroy(),this.destroy$.next(),this.destroy$.complete()}configureDynamicOverlay(){return this.dynamicOverlayHandler.position(this.position).trigger(this.trigger).disabled(this.disabled).adjustment(this.adjustment).content(this.content).context(this.context).overlayConfig(this.overlayConfig)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(Ko))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbTooltip",""]],inputs:{content:[e.lbL.None,"nbTooltip","content"],position:[e.lbL.None,"nbTooltipPlacement","position"],adjustment:[e.lbL.None,"nbTooltipAdjustment","adjustment"],tooltipClass:[e.lbL.None,"nbTooltipClass","tooltipClass"],icon:[e.lbL.None,"nbTooltipIcon","icon"],status:[e.lbL.None,"nbTooltipStatus","status"],trigger:[e.lbL.None,"nbTooltipTrigger","trigger"],offset:[e.lbL.None,"nbTooltipOffset","offset"],disabled:[e.lbL.None,"nbTooltipDisabled","disabled"]},outputs:{nbTooltipShowStateChange:"nbTooltipShowStateChange"},exportAs:["nbTooltip"],features:[e._Bn([Ko,zc]),e.TTD]})}return o})(),M1=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,so,Ts]})}return o})();const O0=new e.OlP("NB_SELECT_INJECTION_TOKEN");let Gc=0,il=(()=>{class o{get disabled(){return this._disabled||this.disabledByGroup}set disabled(n){this._disabled=Lt(n)}get click(){return this.click$.asObservable()}constructor(n,s,l,g,T){this.elementRef=s,this.cd=l,this.zone=g,this.renderer=T,this.disabledByGroup=!1,this._disabled=!1,this.selectionChange=new e.vpe,this.click$=new R.x,this.selected=!1,this.alive=!0,this.id="nb-option-"+Gc++,this._active=!1,this.parent=n}ngOnDestroy(){this.alive=!1}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.elementRef.nativeElement,"nb-transition")}))}get withCheckbox(){return this.multiple&&null!=this.value}get content(){return this.elementRef.nativeElement.textContent}get hidden(){return this.elementRef.nativeElement.hidden}get multiple(){return!!this.parent&&this.parent.multiple}get selectedClass(){return this.selected}get disabledAttribute(){return this.disabled?"":null}get tabindex(){return"-1"}get activeClass(){return this._active}onClick(n){this.click$.next(this),n.preventDefault()}select(){this.setSelection(!0)}deselect(){this.setSelection(!1)}setDisabledByGroupState(n){this.disabledByGroup!==n&&this.alive&&(this.disabledByGroup=n,this.cd.markForCheck())}setSelection(n){this.alive&&this.selected!==n&&(this.selected=n,this.selectionChange.emit(this),this.cd.markForCheck())}focus(){this.elementRef.nativeElement.focus()}getLabel(){return this.content}setActiveStyles(){this._active=!0,this.cd.markForCheck()}setInactiveStyles(){this._active=!1,this.cd.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(O0,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-option"]],hostVars:9,hostBindings:function(s,l){1&s&&e.NdJ("click",function(T){return l.onClick(T)})("keydown.space",function(T){return l.onClick(T)})("keydown.enter",function(T){return l.onClick(T)}),2&s&&(e.Ikx("tabIndex",l.tabindex),e.uIk("id",l.id)("disabled",l.disabledAttribute),e.ekj("multiple",l.multiple)("selected",l.selectedClass)("active",l.activeClass))},inputs:{value:"value",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},ngContentSelectors:wi,decls:2,vars:1,consts:[["aria-hidden","true",3,"checked","disabled",4,"ngIf"],["aria-hidden","true",3,"checked","disabled"]],template:function(s,l){1&s&&(e.F$t(),e.YNc(0,vh,1,2,"nb-checkbox",0),e.Hsn(1)),2&s&&e.Q6J("ngIf",l.withCheckbox)},dependencies:[F.O5,Wf],styles:["\n\n\n\n\n\n\n\n\n\n[_nghost-%COMP%]{display:flex}[hidden][_nghost-%COMP%]{display:none}[_nghost-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] nb-checkbox[_ngcontent-%COMP%]{display:flex;pointer-events:none}[dir=ltr] [_nghost-%COMP%] nb-checkbox[_ngcontent-%COMP%]{margin-right:.5rem}[dir=rtl] [_nghost-%COMP%] nb-checkbox[_ngcontent-%COMP%]{margin-left:.5rem}[_nghost-%COMP%] nb-checkbox[_ngcontent-%COMP%] .label{padding:0}[disabled][_nghost-%COMP%]{pointer-events:none}.nb-transition[_nghost-%COMP%]{transition-duration:.15s;transition-property:background-color,color;transition-timing-function:ease-in}"],changeDetection:0})}return o})(),od=(()=>{class o{constructor(){this.size="medium"}get positionTop(){return this.position===It.TOP}get positionBottom(){return this.position===It.BOTTOM}get sizeTiny(){return"tiny"===this.size}get sizeSmall(){return"small"===this.size}get sizeMedium(){return"medium"===this.size}get sizeLarge(){return"large"===this.size}get sizeGiant(){return"giant"===this.size}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-option-list"]],hostVars:14,hostBindings:function(s,l){2&s&&e.ekj("position-top",l.positionTop)("position-bottom",l.positionBottom)("size-tiny",l.sizeTiny)("size-small",l.sizeSmall)("size-medium",l.sizeMedium)("size-large",l.sizeLarge)("size-giant",l.sizeGiant)},inputs:{size:"size",position:"position"},ngContentSelectors:wi,decls:2,vars:0,consts:[[1,"option-list"]],template:function(s,l){1&s&&(e.F$t(),e.TgZ(0,"ul",0),e.Hsn(1),e.qZA())},encapsulation:2,changeDetection:0})}return o})(),Wc=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-select-label"]],ngContentSelectors:wi,decls:1,vars:0,template:function(s,l){1&s&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return o})();function Yc(){const o=new Qu;return o.supportsSuffix=!1,o}let w1=(()=>{class o{get optionsWidth(){return this._optionsWidth??this.hostWidth}set optionsWidth(n){this._optionsWidth=n}get outline(){return"outline"===this.appearance}set outline(n){Lt(n)&&(this.appearance="outline")}get filled(){return"filled"===this.appearance}set filled(n){Lt(n)&&(this.appearance="filled")}get hero(){return"hero"===this.appearance}set hero(n){Lt(n)&&(this.appearance="hero")}get disabled(){return!!this._disabled}set disabled(n){this._disabled=Lt(n)}get fullWidth(){return this._fullWidth}set fullWidth(n){this._fullWidth=Lt(n)}get compareWith(){return this._compareWith}set compareWith(n){"function"==typeof n&&(this._compareWith=n,this.selectionModel.length&&this.canSelectValue()&&this.setSelection(this.selected))}set selected(n){this.writeValue(n)}get selected(){return this.multiple?this.selectionModel.map(n=>n.value):this.selectionModel[0].value}get multiple(){return this._multiple}set multiple(n){this._multiple=Lt(n)}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}get isOpen(){return this.ref&&this.ref.hasAttached()}constructor(n,s,l,g,T,we,Ze,ht,yt,qt,zn){this.document=n,this.overlay=s,this.hostRef=l,this.positionBuilder=g,this.triggerStrategyBuilder=T,this.cd=we,this.focusKeyManagerFactoryService=Ze,this.focusMonitor=ht,this.renderer=yt,this.zone=qt,this.statusService=zn,this.size="medium",this.status="basic",this.shape="rectangle",this.appearance="outline",this._fullWidth=!1,this.placeholder="",this._compareWith=(Un,cn)=>Un===cn,this._multiple=!1,this.optionsOverlayOffset=8,this.scrollStrategy="block",this.selectedChange=new e.vpe,this.selectionModel=[],this.overlayPosition="",this.alive=!0,this.destroy$=new R.x,this.onChange=()=>{},this.onTouched=()=>{},this.status$=new V.X(this.status),this.size$=new V.X(this.size),this.focused$=new V.X(!1),this.disabled$=new V.X(this.disabled),this.fullWidth$=new V.X(this.fullWidth)}get isHidden(){return!this.isOpen}get hostWidth(){return this.button.nativeElement.getBoundingClientRect().width}get selectButtonClasses(){const n=[];return this.selectionModel.length||n.push("placeholder"),!this.selectionModel.length&&!this.placeholder&&n.push("empty"),this.isOpen&&n.push(this.overlayPosition),n}get selectionView(){return this.selectionModel.length>1?this.selectionModel.map(n=>n.content).join(", "):this.selectionModel[0].content}ngOnChanges({disabled:n,status:s,size:l,fullWidth:g}){n&&this.disabled$.next(n.currentValue),s&&this.status$.next(s.currentValue),l&&this.size$.next(l.currentValue),g&&this.fullWidth$.next(this.fullWidth)}ngAfterContentInit(){this.options.changes.pipe((0,Fe.O)(this.options),(0,$e.h)(()=>null!=this.queue&&this.canSelectValue()),(0,me.w)(n=>(0,ne.D)(Promise.resolve(n))),(0,be.R)(this.destroy$)).subscribe(()=>this.writeValue(this.queue))}ngAfterViewInit(){this.triggerStrategy=this.createTriggerStrategy(),this.subscribeOnButtonFocus(),this.subscribeOnTriggers(),this.subscribeOnOptionClick(),this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.hostRef.nativeElement,"nb-transition")}))}ngOnDestroy(){this.alive=!1,this.destroy$.next(),this.destroy$.complete(),this.ref&&this.ref.dispose(),this.triggerStrategy&&this.triggerStrategy.destroy()}show(){this.shouldShow()&&(this.attachToOverlay(),this.positionStrategy.positionChange.pipe((0,Xe.q)(1),(0,be.R)(this.destroy$)).subscribe(()=>{this.setActiveOption()}),this.cd.markForCheck())}hide(){this.isOpen&&(this.ref.detach(),this.cd.markForCheck())}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this.cd.markForCheck()}writeValue(n){this.alive&&(this.canSelectValue()?(this.setSelection(n),this.selectionModel.length&&(this.queue=null)):this.queue=n)}handleOptionClick(n){this.queue=null,null==n.value?this.reset():this.selectOption(n),this.cd.markForCheck()}reset(){this.selectionModel.forEach(n=>n.deselect()),this.selectionModel=[],this.hide(),this.button.nativeElement.focus(),this.emitSelected(this.multiple?[]:null)}selectOption(n){this.multiple?this.handleMultipleSelect(n):this.handleSingleSelect(n)}handleSingleSelect(n){const s=this.selectionModel.pop();s&&!this._compareWith(s.value,n.value)&&s.deselect(),this.selectionModel=[n],n.select(),this.hide(),this.button.nativeElement.focus(),this.emitSelected(n.value)}handleMultipleSelect(n){n.selected?(this.selectionModel=this.selectionModel.filter(s=>!this._compareWith(s.value,n.value)),n.deselect()):(this.selectionModel.push(n),n.select()),this.emitSelected(this.selectionModel.map(s=>s.value))}attachToOverlay(){this.ref||(this.createOverlay(),this.subscribeOnPositionChange(),this.createKeyManager(),this.subscribeOnOverlayKeys()),this.ref.attach(this.portal)}setActiveOption(){this.selectionModel.length?this.keyManager.setActiveItem(this.selectionModel[0]):this.keyManager.setFirstItemActive()}createOverlay(){const n=this.createScrollStrategy();this.positionStrategy=this.createPositionStrategy(),this.ref=this.overlay.create({positionStrategy:this.positionStrategy,scrollStrategy:n,panelClass:this.optionsPanelClass})}createKeyManager(){this.keyManager=this.focusKeyManagerFactoryService.create(this.options).withTypeAhead(200)}createPositionStrategy(){return this.positionBuilder.connectedTo(this.button).position(It.BOTTOM).offset(this.optionsOverlayOffset).adjustment(Ds.VERTICAL)}createScrollStrategy(){return this.overlay.scrollStrategies[this.scrollStrategy]()}createTriggerStrategy(){return this.triggerStrategyBuilder.trigger(ds.CLICK).host(this.hostRef.nativeElement).container(()=>this.getContainer()).build()}subscribeOnTriggers(){this.triggerStrategy.show$.subscribe(()=>this.show()),this.triggerStrategy.hide$.pipe((0,$e.h)(()=>this.isOpen)).subscribe(n=>{this.hide(),this.isClickedWithinComponent(n)||this.onTouched()})}subscribeOnPositionChange(){this.positionStrategy.positionChange.pipe((0,be.R)(this.destroy$)).subscribe(n=>{this.overlayPosition=n,this.cd.detectChanges()})}subscribeOnOptionClick(){this.options.changes.pipe((0,Fe.O)(this.options),(0,me.w)(n=>(0,P.T)(...n.map(s=>s.click))),(0,be.R)(this.destroy$)).subscribe(n=>this.handleOptionClick(n))}subscribeOnOverlayKeys(){this.ref.keydownEvents().pipe((0,$e.h)(()=>this.isOpen),(0,be.R)(this.destroy$)).subscribe(n=>{27===n.keyCode?(this.button.nativeElement.focus(),this.hide()):this.keyManager.onKeydown(n)}),this.keyManager.tabOut.pipe((0,be.R)(this.destroy$)).subscribe(()=>{this.hide(),this.onTouched()})}subscribeOnButtonFocus(){this.focusMonitor.monitor(this.button).pipe((0,De.U)(n=>!!n),(0,ct.x)(()=>this.focusMonitor.stopMonitoring(this.button)),(0,be.R)(this.destroy$)).subscribe(this.focused$)}getContainer(){return this.ref&&this.ref.hasAttached()&&{location:{nativeElement:this.ref.overlayElement}}}emitSelected(n){this.onChange(n),this.selectedChange.emit(n)}setSelection(n){const s=null==n;let l=n;this.multiple&&(l=n??[]);const g=Array.isArray(l);if(this.multiple&&!g&&!s)throw new Error("Can't assign single value if select is marked as multiple");if(!this.multiple&&g)throw new Error("Can't assign array if select is not marked as multiple");const T=this.selectionModel;this.selectionModel=[],this.multiple?l.forEach(we=>this.selectValue(we)):this.selectValue(l),T.filter(we=>!this.selectionModel.includes(we)).forEach(we=>we.deselect()),this.cd.markForCheck()}selectValue(n){if(null==n)return;const s=this.options.find(l=>this._compareWith(l.value,n));s&&(s.select(),this.selectionModel.push(s))}shouldShow(){return this.isHidden&&this.options?.length>0}trySetTouched(){this.isHidden&&this.onTouched()}isClickedWithinComponent(n){return this.hostRef.nativeElement===n.target||this.hostRef.nativeElement.contains(n.target)}canSelectValue(){return!(!this.options||!this.options.length)}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get rectangle(){return"rectangle"===this.shape}get round(){return"round"===this.shape}get semiRound(){return"semi-round"===this.shape}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(Sr),e.Y36(Ca),e.Y36(e.SBq),e.Y36(Es),e.Y36(Ac),e.Y36(e.sBO),e.Y36(va),e.Y36(Pl),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-select"]],contentQueries:function(s,l,g){if(1&s&&(e.Suo(g,Wc,5),e.Suo(g,il,5)),2&s){let T;e.iGM(T=e.CRH())&&(l.customLabel=T.first),e.iGM(T=e.CRH())&&(l.options=T)}},viewQuery:function(s,l){if(1&s&&(e.Gf(xl,5),e.Gf(wr,5,e.SBq)),2&s){let g;e.iGM(g=e.CRH())&&(l.portal=g.first),e.iGM(g=e.CRH())&&(l.button=g.first)}},hostVars:42,hostBindings:function(s,l){2&s&&(e.Tol(l.additionalClasses),e.ekj("appearance-outline",l.outline)("appearance-filled",l.filled)("appearance-hero",l.hero)("full-width",l.fullWidth)("open",l.isOpen)("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant)("status-primary",l.primary)("status-info",l.info)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-basic",l.basic)("status-control",l.control)("shape-rectangle",l.rectangle)("shape-round",l.round)("shape-semi-round",l.semiRound))},inputs:{size:"size",status:"status",shape:"shape",appearance:"appearance",optionsListClass:"optionsListClass",optionsPanelClass:"optionsPanelClass",optionsWidth:"optionsWidth",outline:"outline",filled:"filled",hero:"hero",disabled:"disabled",fullWidth:"fullWidth",placeholder:"placeholder",compareWith:"compareWith",selected:"selected",multiple:"multiple",optionsOverlayOffset:"optionsOverlayOffset",scrollStrategy:"scrollStrategy"},outputs:{selectedChange:"selectedChange"},features:[e._Bn([{provide:ke.JU,useExisting:(0,e.Gpc)(()=>o),multi:!0},{provide:O0,useExisting:o},{provide:Vc,useExisting:o},{provide:Qu,useFactory:Yc}]),e.TTD],ngContentSelectors:yh,decls:8,vars:4,consts:[["type","button",1,"select-button",3,"disabled","ngClass","blur","keydown.arrowDown","keydown.arrowUp"],["selectButton",""],[3,"click"],[4,"ngIf","ngIfElse"],["placeholderTemplate",""],["icon","chevron-down-outline","pack","nebular-essentials","aria-hidden","true",3,"click"],[3,"size","position","width","ngClass",4,"nbPortal"],["defaultSelectionTemplate",""],[3,"size","position","ngClass"]],template:function(s,l){if(1&s&&(e.F$t(Gp),e.TgZ(0,"button",0,1),e.NdJ("blur",function(){return l.trySetTouched()})("keydown.arrowDown",function(){return l.show()})("keydown.arrowUp",function(){return l.show()}),e.TgZ(2,"span",2),e.NdJ("click",function(T){return l.disabled&&T.stopPropagation()}),e.YNc(3,$p,4,2,"ng-container",3)(4,ym,1,1,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(6,"nb-icon",5),e.NdJ("click",function(T){return l.disabled&&T.stopPropagation()}),e.qZA()(),e.YNc(7,jp,2,5,"nb-option-list",6)),2&s){const g=e.MAs(5);e.Q6J("disabled",l.disabled)("ngClass",l.selectButtonClasses),e.xp6(3),e.Q6J("ngIf",l.selectionModel.length)("ngIfElse",g)}},dependencies:[F.mk,F.O5,xl,di,od],styles:["\n\n\n\n\n\n\n\n\n\n[_nghost-%COMP%]{display:inline-block;max-width:100%}[dir=ltr] [_nghost-%COMP%] .select-button[_ngcontent-%COMP%]{text-align:left}[dir=ltr] [_nghost-%COMP%] .select-button[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{right:.2em}[dir=rtl] [_nghost-%COMP%] .select-button[_ngcontent-%COMP%]{text-align:right}[dir=rtl] [_nghost-%COMP%] .select-button[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{left:.2em}.full-width[_nghost-%COMP%]{width:100%}.nb-transition[_nghost-%COMP%] .select-button[_ngcontent-%COMP%]{transition-duration:.15s;transition-property:background-color,border-color,border-radius,box-shadow,color;transition-timing-function:ease-in}.select-button[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;text-overflow:ellipsis;text-transform:none;white-space:nowrap}nb-icon[_ngcontent-%COMP%]{font-size:1.5em;position:absolute;top:50%;transform:translateY(-50%);transition-duration:.15s;transition-property:transform;transition-timing-function:ease-in}[dir=ltr][_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{right:.5rem}[dir=rtl][_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{left:.5rem}.open[_nghost-%COMP%] nb-icon[_ngcontent-%COMP%]{transform:translateY(-50%) rotate(180deg)}"],changeDetection:0})}return o})(),S1=(()=>{class o{constructor(){this.destroy$=new R.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=Lt(n),this.options&&this.updateOptionsDisabledState()}get disabledAttribute(){return this.disabled?"":null}ngAfterContentInit(){this.options.length&&this.asyncUpdateOptionsDisabledState(),this.options.changes.pipe((0,be.R)(this.destroy$)).subscribe(()=>this.asyncUpdateOptionsDisabledState())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateOptionsDisabledState(){this.options.forEach(n=>n.setDisabledByGroupState(this.disabled))}asyncUpdateOptionsDisabledState(){(0,ne.D)(Promise.resolve()).pipe((0,be.R)(this.destroy$)).subscribe(()=>this.updateOptionsDisabledState())}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-option-group"]],contentQueries:function(s,l,g){if(1&s&&e.Suo(g,il,5),2&s){let T;e.iGM(T=e.CRH())&&(l.options=T)}},hostVars:1,hostBindings:function(s,l){2&s&&e.uIk("disabled",l.disabledAttribute)},inputs:{title:"title",disabled:"disabled"},ngContentSelectors:Wp,decls:3,vars:1,consts:[[1,"option-group-title"]],template:function(s,l){1&s&&(e.F$t(Cm),e.TgZ(0,"span",0),e._uU(1),e.qZA(),e.Hsn(2)),2&s&&(e.xp6(),e.Oqu(l.title))},styles:["\n\n\n\n\n[_nghost-%COMP%]{display:block}.option-group-title[_ngcontent-%COMP%]{display:block}"],changeDetection:0})}return o})(),Zc=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,Yf]})}return o})(),A0=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[kr,so,Zh,e1,Ja,Ts,Zc,Zc]})}return o})(),rl=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbPrefix",""]]})}return o})(),sl=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["","nbSuffix",""]]})}return o})(),D1=(()=>{class o{constructor(n,s,l,g){this.cd=n,this.zone=s,this.elementRef=l,this.renderer=g,this.destroy$=new R.x,this.formControlState$=new H.t(1),this.prefixClasses$=this.formControlState$.pipe((0,De.U)(T=>this.getAddonClasses("prefix",T))),this.suffixClasses$=this.formControlState$.pipe((0,De.U)(T=>this.getAddonClasses("suffix",T)))}ngAfterContentChecked(){this.formControl||function ad(){throw new Error("NbFormFieldComponent must contain [nbInput]")}()}ngAfterContentInit(){this.subscribeToFormControlStateChange(),this.subscribeToAddonChange()}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.elementRef.nativeElement,"nb-transition")}))}ngOnDestroy(){this.destroy$.next()}shouldShowPrefix(){return this.getFormControlConfig().supportsPrefix&&!!this.prefix.length}shouldShowSuffix(){return this.getFormControlConfig().supportsSuffix&&!!this.suffix.length}subscribeToFormControlStateChange(){const{disabled$:n,focused$:s,size$:l,status$:g,fullWidth$:T}=this.formControl;(0,X.a)([n,s,l,g,T]).pipe((0,De.U)(([we,Ze,ht,yt,qt])=>({disabled:we,focused:Ze,size:ht,status:yt,fullWidth:qt})),(0,nt.x)((we,Ze)=>this.isStatesEqual(we,Ze)),(0,qe.b)(({size:we,fullWidth:Ze})=>{const ht=[`nb-form-field-size-${we}`];Ze||ht.push("nb-form-field-limited-width"),this.formFieldClasses=ht.join(" ")}),(0,be.R)(this.destroy$)).subscribe(this.formControlState$)}subscribeToAddonChange(){(0,P.T)(this.prefix.changes,this.suffix.changes).pipe((0,be.R)(this.destroy$)).subscribe(()=>this.cd.markForCheck())}getAddonClasses(n,s){const l=["nb-form-field-addon",`nb-form-field-${n}-${s.size}`];return l.push(s.disabled?"nb-form-field-addon-disabled":s.focused?`nb-form-field-addon-${s.status}-highlight`:`nb-form-field-addon-${s.status}`),l}getFormControlConfig(){return this.formControlConfig||new Qu}isStatesEqual(n,s){return n.status===s.status&&n.disabled===s.disabled&&n.focused===s.focused&&n.fullWidth===s.fullWidth&&n.size===s.size}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-form-field"]],contentQueries:function(s,l,g){if(1&s&&(e.Suo(g,Vc,5),e.Suo(g,Qu,5),e.Suo(g,rl,5),e.Suo(g,sl,5)),2&s){let T;e.iGM(T=e.CRH())&&(l.formControl=T.first),e.iGM(T=e.CRH())&&(l.formControlConfig=T.first),e.iGM(T=e.CRH())&&(l.prefix=T),e.iGM(T=e.CRH())&&(l.suffix=T)}},hostVars:2,hostBindings:function(s,l){2&s&&e.Tol(l.formFieldClasses)},ngContentSelectors:bh,decls:4,vars:6,consts:[[3,"ngClass",4,"ngIf"],[1,"nb-form-control-container"],[3,"ngClass"]],template:function(s,l){1&s&&(e.F$t(Ch),e.YNc(0,bm,3,3,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,Mm,3,3,"div",0)),2&s&&(e.Q6J("ngIf",l.shouldShowPrefix()),e.xp6(),e.ekj("nb-form-field-control-with-prefix",l.shouldShowPrefix())("nb-form-field-control-with-suffix",l.shouldShowSuffix()),e.xp6(2),e.Q6J("ngIf",l.shouldShowSuffix()))},dependencies:[F.mk,F.O5,F.Ov],styles:["\n\n\n\n\n[_nghost-%COMP%]{display:flex;align-items:center}[hidden][_nghost-%COMP%]{display:none}.nb-form-control-container[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}return o})(),P0=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez]})}return o})(),J_=0,E1=(()=>{class o{get overlayPosition(){return this._overlayPosition}set overlayPosition(n){this._overlayPosition=n,this.cd.detectChanges()}get hostWidth(){return this.hostRef.nativeElement.getBoundingClientRect().width}get optionsWidth(){return this._optionsWidth??this.hostWidth}set optionsWidth(n){this._optionsWidth=n}constructor(n){this.cd=n,this.destroy$=new R.x,this.id="nb-autocomplete-"+J_++,this._overlayPosition="",this.size="medium",this.activeFirst=!1,this.selectedChange=new e.vpe}ngAfterContentInit(){this.options.changes.pipe((0,be.R)(this.destroy$)).subscribe(()=>this.cd.detectChanges())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setHost(n){this.hostRef=n}emitSelected(n){this.selectedChange.emit(n)}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-autocomplete"]],contentQueries:function(s,l,g){if(1&s&&e.Suo(g,il,5),2&s){let T;e.iGM(T=e.CRH())&&(l.options=T)}},viewQuery:function(s,l){if(1&s&&e.Gf(xl,5),2&s){let g;e.iGM(g=e.CRH())&&(l.portal=g.first)}},hostVars:10,hostBindings:function(s,l){2&s&&e.ekj("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant)},inputs:{handleDisplayFn:"handleDisplayFn",size:"size",activeFirst:"activeFirst",optionsListClass:"optionsListClass",optionsPanelClass:"optionsPanelClass",optionsWidth:"optionsWidth"},outputs:{selectedChange:"selectedChange"},ngContentSelectors:Zp,decls:1,vars:0,consts:[["role","listbox",3,"size","position","width","id","empty","ngClass",4,"nbPortal"],["role","listbox",3,"size","position","id","ngClass"]],template:function(s,l){1&s&&(e.F$t(Dm),e.YNc(0,Sm,2,8,"nb-option-list",0))},dependencies:[F.mk,xl,od],styles:["\n\n\n\n\n[_nghost-%COMP%]:hover{cursor:pointer}nb-option-list.empty[_ngcontent-%COMP%]{border:none}"],changeDetection:0})}return o})(),ld=(()=>{class o{get isOpen(){return this.overlayRef&&this.overlayRef.hasAttached()}get isClosed(){return!this.isOpen}get autocomplete(){return this._autocomplete}set autocomplete(n){this._autocomplete=n}get top(){return this.isOpen&&this.autocomplete.options.length&&this.autocomplete.overlayPosition===It.TOP}get bottom(){return this.isOpen&&this.autocomplete.options.length&&this.autocomplete.overlayPosition===It.BOTTOM}get ariaExpanded(){return this.isOpen&&this.isOpen.toString()}get ariaOwns(){return this.isOpen?this.autocomplete.id:null}get ariaActiveDescendant(){return this.isOpen&&this.keyManager.activeItem?this.keyManager.activeItem.id:null}constructor(n,s,l,g,T,we,Ze){this.hostRef=n,this.overlay=s,this.cd=l,this.triggerStrategyBuilder=g,this.positionBuilder=T,this.activeDescendantKeyManagerFactory=we,this.renderer=Ze,this.destroy$=new R.x,this._onChange=()=>{},this._onTouched=()=>{},this.overlayOffset=8,this.scrollStrategy="block",this.role="combobox",this.ariaAutocomplete="list",this.hasPopup="true"}ngAfterViewInit(){this.triggerStrategy=this.createTriggerStrategy(),this.subscribeOnTriggers()}ngOnDestroy(){this.triggerStrategy&&this.triggerStrategy.destroy(),this.positionStrategy&&this.positionStrategy.dispose(),this.overlayRef&&this.overlayRef.dispose(),this.destroy$.next(),this.destroy$.complete()}handleInput(){const n=this.hostRef.nativeElement.value;this._onChange(n),this.setHostInputValue(this.getDisplayValue(n)),this.show()}handleKeydown(){this.show()}handleBlur(){this._onTouched()}show(){this.shouldShow()&&(this.attachToOverlay(),this.setActiveItem())}hide(){this.isOpen&&(this.overlayRef.detach(),this.cd.markForCheck())}writeValue(n){this.handleInputValueUpdate(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.renderer.setProperty(this.hostRef.nativeElement,"disabled",n)}subscribeOnOptionClick(){this.autocomplete.options.changes.pipe((0,qe.b)(()=>this.setActiveItem()),(0,Fe.O)(this.autocomplete.options),(0,me.w)(n=>(0,P.T)(...n.map(s=>s.click))),(0,be.R)(this.destroy$)).subscribe(n=>this.handleInputValueUpdate(n.value,!0))}subscribeOnPositionChange(){this.positionStrategy.positionChange.pipe((0,be.R)(this.destroy$)).subscribe(n=>{this.autocomplete.overlayPosition=n,this.cd.detectChanges()})}getActiveItem(){return this.keyManager.activeItem}setupAutocomplete(){this.autocomplete.setHost(this.customOverlayHost||this.hostRef)}getDisplayValue(n){const s=this.autocomplete.handleDisplayFn;return s?s(n):n}getContainer(){return this.overlayRef&&this.isOpen&&{location:{nativeElement:this.overlayRef.overlayElement}}}handleInputValueUpdate(n,s=!1){this.setHostInputValue(n??""),this._onChange(n),s&&this.hostRef.nativeElement.focus(),this.autocomplete.emitSelected(n),this.hide()}subscribeOnTriggers(){this.triggerStrategy.show$.pipe((0,$e.h)(()=>this.isClosed)).subscribe(()=>this.show()),this.triggerStrategy.hide$.pipe((0,$e.h)(()=>this.isOpen)).subscribe(()=>this.hide())}createTriggerStrategy(){return this.triggerStrategyBuilder.trigger(ds.FOCUS).host(this.hostRef.nativeElement).container(()=>this.getContainer()).build()}createKeyManager(){this.keyManager=this.activeDescendantKeyManagerFactory.create(this.autocomplete.options)}setHostInputValue(n){this.hostRef.nativeElement.value=this.getDisplayValue(n)}createPositionStrategy(){return this.positionBuilder.connectedTo(this.customOverlayHost||this.hostRef).position(It.BOTTOM).offset(this.overlayOffset).adjustment(Ds.VERTICAL)}subscribeOnOverlayKeys(){this.overlayRef.keydownEvents().pipe((0,be.R)(this.destroy$)).subscribe(n=>{if(27===n.keyCode&&this.isOpen)n.preventDefault(),this.hostRef.nativeElement.focus(),this.hide();else if(13===n.keyCode){n.preventDefault();const s=this.getActiveItem();if(!s)return;this.handleInputValueUpdate(s.value,!0)}else this.keyManager.onKeydown(n)})}setActiveItem(){this.keyManager.setActiveItem(this.autocomplete.activeFirst?Ih.FIRST_ACTIVE:Ih.RESET_ACTIVE),this.cd.detectChanges()}attachToOverlay(){this.overlayRef||(this.setupAutocomplete(),this.initOverlay()),this.overlayRef.attach(this.autocomplete.portal)}createOverlay(){const n=this.createScrollStrategy();this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,scrollStrategy:n,panelClass:this.autocomplete.optionsPanelClass})}initOverlay(){this.positionStrategy=this.createPositionStrategy(),this.createKeyManager(),this.subscribeOnPositionChange(),this.subscribeOnOptionClick(),this.checkOverlayVisibility(),this.createOverlay(),this.subscribeOnOverlayKeys()}checkOverlayVisibility(){this.autocomplete.options.changes.pipe((0,be.R)(this.destroy$)).subscribe(()=>{this.autocomplete.options.length||this.hide()})}createScrollStrategy(){return this.overlay.scrollStrategies[this.scrollStrategy]()}shouldShow(){return this.isClosed}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(Ca),e.Y36(e.sBO),e.Y36(Ac),e.Y36(Es),e.Y36(Fu),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["input","nbAutocomplete",""]],hostVars:10,hostBindings:function(s,l){1&s&&e.NdJ("input",function(){return l.handleInput()})("keydown.arrowDown",function(){return l.handleKeydown()})("keydown.arrowUp",function(){return l.handleKeydown()})("blur",function(){return l.handleBlur()}),2&s&&(e.uIk("role",l.role)("aria-autocomplete",l.ariaAutocomplete)("haspopup",l.hasPopup)("aria-expanded",l.ariaExpanded)("aria-owns",l.ariaOwns)("aria-activedescendant",l.ariaActiveDescendant),e.ekj("nb-autocomplete-position-top",l.top)("nb-autocomplete-position-bottom",l.bottom))},inputs:{autocomplete:[e.lbL.None,"nbAutocomplete","autocomplete"],overlayOffset:"overlayOffset",scrollStrategy:"scrollStrategy",customOverlayHost:"customOverlayHost"},features:[e._Bn([{provide:ke.JU,useExisting:(0,e.Gpc)(()=>o),multi:!0}])]})}return o})(),q_=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,ke.u5,so,Ja,Zc,Zc]})}return o})();var Br=function(o){return o.MINIMIZED="minimized",o.MAXIMIZED="maximized",o.FULL_SCREEN="full-screen",o}(Br||{});const Kc={minimize:!0,maximize:!0,fullScreen:!0,close:!0};class cd{constructor(...d){this.title="",this.titleTemplateContext={},this.initialState=Br.FULL_SCREEN,this.hasBackdrop=!0,this.closeOnBackdropClick=!0,this.closeOnEsc=!0,this.windowClass="",this.context={},this.viewContainerRef=null,this.buttons={},Object.assign(this,...d),this.applyDefaultButtonConfig()}applyDefaultButtonConfig(){Object.assign(this,{buttons:{...Kc,...this.buttons}})}}const ol=new e.OlP("Nebular Window Content"),al=new e.OlP("Nebular Window Config"),ud=new e.OlP("Nebular Window Context");class Yl{get state(){return this.stateValue}set state(d){d&&this.stateValue!==d&&(this.prevStateValue=this.state,this.stateValue=d,this.stateChange$.next({oldState:this.prevStateValue,newState:d}))}get stateChange(){return this.stateChange$.asObservable()}get onClose(){return this.closed$.asObservable()}constructor(d){this.config=d,this.stateChange$=new H.t(1),this._closed=!1,this.closed$=new R.x,this.state=d.initialState}minimize(){this.state=Br.MINIMIZED}maximize(){this.state=Br.MAXIMIZED}fullScreen(){this.state=Br.FULL_SCREEN}toPreviousState(){this.state=this.prevStateValue}close(d){this._closed||(this._closed=!0,this.componentRef.destroy(),this.componentInstance=null,this.stateChange$.complete(),this.closed$.next(d),this.closed$.complete())}}let X_=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-windows-container"]],viewQuery:function(s,l){if(1&s&&e.Gf(Em,7,e.s_b),2&s){let g;e.iGM(g=e.CRH())&&(l.viewContainerRef=g.first)}},decls:2,vars:0,consts:[["viewContainerRef",""]],template:function(s,l){1&s&&e.GkF(0,null,0)},styles:["[_nghost-%COMP%]{display:flex;align-items:flex-end;overflow-x:auto}[_nghost-%COMP%] nb-window:not(.full-screen){margin:0 2rem}"]})}return o})(),e2=(()=>{class o{get isFullScreen(){return this.windowRef.state===Br.FULL_SCREEN}get maximized(){return this.windowRef.state===Br.MAXIMIZED}get minimized(){return this.windowRef.state===Br.MINIMIZED}get showMinimize(){return this.config.buttons.minimize}get showMaximize(){return this.config.buttons.maximize}get showFullScreen(){return this.config.buttons.fullScreen}get showClose(){return this.config.buttons.close}constructor(n,s,l,g,T,we,Ze){this.content=n,this.context=s,this.windowRef=l,this.config=g,this.focusTrapFactory=T,this.elementRef=we,this.renderer=Ze}ngOnInit(){this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement),this.focusTrap.blurPreviouslyFocusedElement(),this.focusTrap.focusInitialElement(),this.config.windowClass&&this.renderer.addClass(this.elementRef.nativeElement,this.config.windowClass)}ngAfterViewChecked(){!this.overlayContainer||this.overlayContainer.isAttached||(this.content instanceof e.Rgc?this.attachTemplate():this.attachComponent())}ngOnDestroy(){this.focusTrap&&this.focusTrap.restoreFocus(),this.close()}minimize(){this.windowRef.state===Br.MINIMIZED?this.windowRef.toPreviousState():this.windowRef.minimize()}maximize(){this.windowRef.maximize()}fullScreen(){this.windowRef.fullScreen()}maximizeOrFullScreen(){this.windowRef.state===Br.MINIMIZED&&this.showMaximize?this.maximize():this.fullScreen()}close(){this.windowRef.close()}attachTemplate(){this.overlayContainer.attachTemplatePortal(new Rh(this.content,null,this.context))}attachComponent(){const n=new Wo(this.content,null,null,this.cfr),s=this.overlayContainer.attachComponentPortal(n,this.context);this.windowRef.componentInstance=s.instance,s.changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(ol),e.Y36(ud),e.Y36(Yl),e.Y36(cd),e.Y36(Nh),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-window"]],viewQuery:function(s,l){if(1&s&&e.Gf(zu,5),2&s){let g;e.iGM(g=e.CRH())&&(l.overlayContainer=g.first)}},hostVars:6,hostBindings:function(s,l){2&s&&e.ekj("full-screen",l.isFullScreen)("maximized",l.maximized)("minimized",l.minimized)},inputs:{cfr:"cfr"},decls:11,vars:7,consts:[["cdkFocusInitial","","tabindex","-1",4,"ngIf","ngIfElse"],["textTitleTemplate",""],[1,"buttons"],[4,"ngIf"],["cdkFocusInitial","","tabindex","-1"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cdkFocusInitial","","tabindex","-1",1,"title"],["nbButton","","ghost","",3,"click"],["icon","minus-outline","pack","nebular-essentials"],["nbButton","","ghost","",3,"click",4,"ngIf"],["icon","collapse-outline","pack","nebular-essentials"],["icon","expand-outline","pack","nebular-essentials"],["icon","close-outline","pack","nebular-essentials"]],template:function(s,l){if(1&s&&(e.TgZ(0,"nb-card")(1,"nb-card-header"),e.YNc(2,Om,2,4,"div",0)(3,Kp,2,1,"ng-template",null,1,e.W1O),e.TgZ(5,"div",2),e.YNc(6,Sc,3,0,"ng-container",3)(7,wh,2,1,"ng-container",3)(8,Pm,2,1,"ng-container",3)(9,Sh,3,0,"ng-container",3),e.qZA()(),e.YNc(10,Qp,2,0,"nb-card-body",3),e.qZA()),2&s){const g=e.MAs(4);e.xp6(2),e.Q6J("ngIf",l.config.titleTemplate)("ngIfElse",g),e.xp6(4),e.Q6J("ngIf",l.showMinimize),e.xp6(),e.Q6J("ngIf",l.showMaximize),e.xp6(),e.Q6J("ngIf",l.showFullScreen),e.xp6(),e.Q6J("ngIf",l.showClose),e.xp6(),e.Q6J("ngIf",l.maximized||l.isFullScreen)}},dependencies:[F.O5,F.tP,zu,Ic,jh,ju,di,qa],styles:["[_nghost-%COMP%]{flex:1 0 auto;min-width:20rem}[_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] nb-card-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;overflow:hidden}[_nghost-%COMP%] .title[_ngcontent-%COMP%]{flex:1 0 auto;margin-right:3rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{width:9.5rem;display:flex;justify-content:flex-end}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] [nbButton][_ngcontent-%COMP%]{flex:0 0 3rem}.full-screen[_nghost-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.maximized[_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.minimized[_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0;height:auto}.minimized[_nghost-%COMP%] nb-card[_ngcontent-%COMP%] nb-card-header[_ngcontent-%COMP%]{border-bottom:none}"]})}return o})(),x0=(()=>{class o{constructor(n,s,l,g,T,we,Ze){this.componentFactoryResolver=n,this.overlayService=s,this.overlayPositionBuilder=l,this.blockScrollStrategy=g,this.defaultWindowsConfig=T,this.cfr=we,this.openWindows=[],this.document=Ze}open(n,s={}){this.shouldCreateWindowsContainer()&&this.createWindowsContainer();const l=new cd(this.defaultWindowsConfig,s),g=new Yl(l);return g.componentRef=this.appendWindow(n,l,g),this.openWindows.push(g),this.subscribeToEvents(g),g}shouldCreateWindowsContainer(){return!this.windowsContainerViewRef||!this.document.body.contains(this.windowsContainerViewRef.element.nativeElement)}createWindowsContainer(){this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=this.overlayService.create({scrollStrategy:this.overlayService.scrollStrategies.noop(),positionStrategy:this.overlayPositionBuilder.global().bottom().right(),hasBackdrop:!0});const n=new Wo(X_,null,null,this.cfr),s=this.overlayRef.attach(n);this.windowsContainerViewRef=s.instance.viewContainerRef}appendWindow(n,s,l){const Ze=e.zs3.create({parent:s.viewContainerRef?s.viewContainerRef.injector:this.windowsContainerViewRef.injector,providers:[{provide:ol,useValue:n},{provide:ud,useValue:n instanceof e.Rgc?{$implicit:s.context,windowRef:l}:s.context},{provide:cd,useValue:s},{provide:Yl,useValue:l}]}),ht=this.componentFactoryResolver.resolveComponentFactory(e2),yt=this.windowsContainerViewRef.createComponent(ht,this.windowsContainerViewRef.length,Ze);return yt.instance.cfr=this.cfr,yt.changeDetectorRef.detectChanges(),yt}subscribeToEvents(n){n.config.closeOnBackdropClick&&this.overlayRef.backdropClick().subscribe(()=>n.close()),n.config.closeOnEsc&&this.overlayRef.keydownEvents().pipe((0,$e.h)(s=>27===s.keyCode)).subscribe(()=>n.close()),n.stateChange.subscribe(()=>this.checkAndUpdateOverlay()),n.onClose.subscribe(()=>{this.openWindows.splice(this.openWindows.indexOf(n),1),this.checkAndUpdateOverlay()})}checkAndUpdateOverlay(){const n=this.openWindows.filter(s=>s.state===Br.FULL_SCREEN);n.length>0?this.blockScrollStrategy.enable():this.blockScrollStrategy.disable(),n.some(s=>s.config.hasBackdrop)?this.overlayRef.backdropElement.removeAttribute("hidden"):this.overlayRef.backdropElement.setAttribute("hidden","")}static#e=this.\u0275fac=function(s){return new(s||o)(e.LFG(e._Vd),e.LFG(Ca),e.LFG(Fh),e.LFG(Vh),e.LFG(al),e.LFG(e._Vd),e.LFG(Sr))};static#t=this.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac})}return o})(),T1=(()=>{class o{static forRoot(n){return{ngModule:o,providers:[x0,{provide:al,useValue:n}]}}static forChild(n){return{ngModule:o,providers:[x0,{provide:al,useValue:n}]}}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,so,Ja,Ts,Zh]})}return o})(),o2=0,lo=(()=>{class o{get destroy$(){return this._destroy$.asObservable()}get selected(){return this._selected}set selected(n){this.selected!==Lt(n)&&(this._selected=!this.selected,this.selectedChange.emit({tag:this,selected:this.selected}))}get removable(){return this._removable}set removable(n){this._removable=Lt(n)}get filled(){return"filled"===this.appearance}set filled(n){Lt(n)&&(this.appearance="filled")}get outline(){return"outline"===this.appearance}set outline(n){Lt(n)&&(this.appearance="outline")}get basic(){return"basic"===this.status}get primary(){return"primary"===this.status}get success(){return"success"===this.status}get info(){return"info"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get control(){return"control"===this.status}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}_remove(){this.removable&&this.remove.emit(this)}constructor(n,s,l,g,T){this._hostElement=n,this.cd=s,this.renderer=l,this.zone=g,this.statusService=T,this._destroy$=new R.x,this._selected=!1,this._removable=!1,this.appearance="filled",this.status="basic",this.size="medium",this.role="option",this.remove=new e.vpe,this.selectedChange=new e.vpe,this._isActive=!1,this._id="nb-tag-"+o2++}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this._hostElement.nativeElement,"nb-transition")}))}ngOnDestroy(){this._destroy$.next(this)}_toggleSelection(){this.selected=!this.selected,this.cd.markForCheck()}setActiveStyles(){this._isActive||(this._isActive=!0,this.cd.markForCheck())}setInactiveStyles(){this._isActive&&(this._isActive=!1,this.cd.markForCheck())}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-tag"]],hostVars:37,hostBindings:function(s,l){1&s&&e.NdJ("keydown.delete",function(){return l._remove()})("keydown.backspace",function(){return l._remove()}),2&s&&(e.uIk("aria-selected",l.selected)("role",l.role)("id",l._id),e.Tol(l.additionalClasses),e.ekj("selected",l.selected)("active",l._isActive)("appearance-filled",l.filled)("appearance-outline",l.outline)("status-basic",l.basic)("status-primary",l.primary)("status-success",l.success)("status-info",l.info)("status-warning",l.warning)("status-danger",l.danger)("status-control",l.control)("size-tiny",l.tiny)("size-small",l.small)("size-medium",l.medium)("size-large",l.large)("size-giant",l.giant))},inputs:{text:"text",selected:"selected",removable:"removable",appearance:"appearance",status:"status",size:"size",role:"role"},outputs:{remove:"remove",selectedChange:"selectedChange"},exportAs:["nbTag"],decls:2,vars:2,consts:[["icon","close-outline","pack","nebular-essentials","aria-hidden","true",3,"class","click",4,"ngIf"],["icon","close-outline","pack","nebular-essentials","aria-hidden","true",3,"click"]],template:function(s,l){1&s&&(e._uU(0),e.YNc(1,Im,1,3,"nb-icon",0)),2&s&&(e.hij("",l.text,"\n"),e.xp6(),e.Q6J("ngIf",l.removable))},dependencies:[F.O5,di],encapsulation:2,changeDetection:0})}return o})(),Zl=(()=>{class o extends Hc{get _value(){return this._hostElement.nativeElement.value}_onKeydown(n){this.keyDown$.next(n)}constructor(n,s,l,g,T){super(n,s,l,g,T),this._hostElement=n,this.focusMonitor=s,this.renderer=l,this.zone=g,this.statusService=T,this.keyDown$=new R.x,this.separatorKeys=[13],this.tagAdd=new e.vpe,this.nbTagInputClass=!0}ngAfterViewInit(){super.ngAfterViewInit(),this.keyDown$.pipe((0,$e.h)(({keyCode:n})=>this.isSeparatorKey(n)),(0,De.U)(()=>this._value),(0,be.R)(this.destroy$)).subscribe(n=>this.tagAdd.emit({value:n,input:this._hostElement}))}isSeparatorKey(n){return this.separatorKeys.includes(n)}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(Pl),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275dir=e.lG2({type:o,selectors:[["input","nbTagInput",""]],hostVars:2,hostBindings:function(s,l){1&s&&e.NdJ("keydown",function(T){return l._onKeydown(T)}),2&s&&e.ekj("nb-tag-input",l.nbTagInputClass)},inputs:{separatorKeys:"separatorKeys"},outputs:{tagAdd:"tagAdd"},exportAs:["nbTagInput"],features:[e._Bn([{provide:Vc,useExisting:o}]),e.qOj]})}return o})(),Ji=(()=>{class o{get multiple(){return this._multiple}set multiple(n){this._multiple=Lt(n)}get _hasInput(){return!!this.tagInput}get _isFocused(){return this.focused}get _isFullWidth(){return!!this.tagInput?.fullWidth}get _inputClasses(){return this._hasInput?[`shape-${this.tagInput.shape}`,`size-${this.tagInput.fieldSize}`,this.statusService.getStatusClass(this.tagInput.status)]:[`size-${this.size}`]}_onKeydown(n){this.keyDown$.next(n)}_onClick({target:n}){const s=this.tags.find(l=>l._hostElement.nativeElement===n);s&&this.tagClick$.next(s)}constructor(n,s,l,g,T,we,Ze,ht){this.hostElement=n,this.cd=s,this.renderer=l,this.zone=g,this.focusMonitor=T,this.activeDescendantKeyManagerFactory=we,this.directionService=Ze,this.statusService=ht,this.destroy$=new R.x,this.keyDown$=new R.x,this.tagClick$=new R.x,this.focused=!1,this.size="medium",this.tabIndex=0,this.role="listbox",this._multiple=!1,this.activeTagId=null,this.tagRemove=new e.vpe}ngOnInit(){this.focusMonitor.monitor(this.hostElement,!0).pipe((0,De.U)(n=>!!n),(0,ct.x)(()=>this.focusMonitor.stopMonitoring(this.hostElement)),(0,be.R)(this.destroy$)).subscribe(n=>this.onFocusChange(n))}ngAfterContentInit(){this.initKeyManager(),this.setAutocompleteCustomHost()}ngAfterViewInit(){this.listenToLayoutDirectionChange(),this.listenListKeyDown(),this.listenInputKeyDown(),this.listenTagClick(),this.listenTagRemove(),this.listenTagDestroy(),this.listenActiveTagChange(),this.listenNoTags(),this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.hostElement.nativeElement,"nb-transition")}))}ngOnDestroy(){this.destroy$.next()}initKeyManager(){this.keyManager=this.activeDescendantKeyManagerFactory.create(this.tags).withHorizontalOrientation(this.directionService.getDirection()).withWrap()}listenToLayoutDirectionChange(){this.directionService.onDirectionChange().pipe((0,be.R)(this.destroy$)).subscribe(n=>this.keyManager.withHorizontalOrientation(n))}listenListKeyDown(){const n=this.keyDown$.pipe((0,$e.h)(({target:l})=>l===this.hostElement.nativeElement)),s=n.pipe((0,$e.h)(()=>!!this.keyManager.activeItem));n.pipe((0,be.R)(this.destroy$)).subscribe(l=>this.keyManager.onKeydown(l)),s.pipe((0,$e.h)(({keyCode:l})=>32===l),(0,be.R)(this.destroy$)).subscribe(l=>{this.toggleTag(this.keyManager.activeItem),l.preventDefault()}),s.pipe((0,$e.h)(({keyCode:l})=>this.isBackspaceOrDelete(l)),(0,De.U)(()=>this.keyManager.activeItem),(0,be.R)(this.destroy$)).subscribe(l=>l._remove())}listenInputKeyDown(){this.keyDown$.pipe((0,$e.h)(({target:s})=>s===this.tagInput?._hostElement.nativeElement)).pipe((0,$e.h)(({keyCode:s})=>""===this.tagInput._value&&this.isBackspaceOrDelete(s)&&this.tags.length>0),(0,be.R)(this.destroy$)).subscribe(()=>{this.hostElement.nativeElement.focus(),this.keyManager.setLastItemActive(),this.cd.markForCheck()})}listenTagClick(){this.tagClick$.pipe((0,be.R)(this.destroy$)).subscribe(n=>{this.toggleTag(n),this.keyManager.setActiveItem(n)})}listenTagRemove(){this.tags.changes.pipe((0,Fe.O)(this.tags),(0,me.w)(n=>(0,P.T)(...n.map(s=>s.remove))),(0,be.R)(this.destroy$)).subscribe(n=>this.tagRemove.emit(n))}listenTagDestroy(){this.tags.changes.pipe((0,Fe.O)(this.tags),(0,me.w)(n=>(0,P.T)(...n.map(s=>s.destroy$))),(0,$e.h)(n=>n===this.keyManager.activeItem),(0,De.U)(n=>n===this.tags.last),(0,be.R)(this.destroy$)).subscribe(n=>{n?this.keyManager.setPreviousItemActive():this.keyManager.setNextItemActive()})}listenNoTags(){this.tags.changes.pipe((0,Fe.O)(this.tags),(0,$e.h)(n=>0===n.length),(0,be.R)(this.destroy$)).subscribe(()=>this.focusInputIfActive())}listenActiveTagChange(){this.keyManager.change.pipe((0,De.U)(()=>this.keyManager.activeItem?._id),(0,be.R)(this.destroy$)).subscribe(n=>{this.activeTagId=n,this.cd.markForCheck()})}onFocusChange(n){this.focused=n,this.cd.markForCheck(),n&&!this.tagInput?.focused$.value?0===this.tags.length&&this._hasInput?this.focusInput():this.keyManager.setFirstItemActive():this.keyManager?.setActiveItem(-1)}isBackspaceOrDelete(n){return 8===n||46===n}setAutocompleteCustomHost(){this.autocompleteDirective&&(this.autocompleteDirective.customOverlayHost=this.hostElement)}toggleTag(n){n._toggleSelection(),n.selected&&!this.multiple&&this.tags.forEach(s=>{s!==n&&(s.selected=!1)})}focusInput(){this._hasInput&&this.tagInput._hostElement.nativeElement.focus()}focusInputIfActive(){this._isFocused&&this.focusInput()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Pl),e.Y36(Fu),e.Y36(Bi),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-tag-list"]],contentQueries:function(s,l,g){if(1&s&&(e.Suo(g,Zl,5),e.Suo(g,ld,5),e.Suo(g,lo,4)),2&s){let T;e.iGM(T=e.CRH())&&(l.tagInput=T.first),e.iGM(T=e.CRH())&&(l.autocompleteDirective=T.first),e.iGM(T=e.CRH())&&(l.tags=T)}},hostVars:12,hostBindings:function(s,l){1&s&&e.NdJ("keydown",function(T){return l._onKeydown(T)})("click",function(T){return l._onClick(T)}),2&s&&(e.uIk("tabindex",l.tabIndex)("role",l.role)("aria-multiselectable",l.multiple)("aria-activedescendant",l.activeTagId),e.Tol(l._inputClasses),e.ekj("nb-tag-list-with-input",l._hasInput)("focus",l._isFocused)("input-full-width",l._isFullWidth))},inputs:{size:"size",tabIndex:"tabIndex",role:"role",multiple:"multiple"},outputs:{tagRemove:"tagRemove"},exportAs:["nbTagList"],ngContentSelectors:Ou,decls:2,vars:0,consts:[[1,"nb-tag-list-tags-wrapper"]],template:function(s,l){1&s&&(e.F$t(Zv),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},encapsulation:2,changeDetection:0})}return o})(),ll=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,Ts]})}return o})();new e.OlP("NB_TREE_GRID");let L0=(()=>{class o{get checked(){return this._checked}set checked(n){this._checked=Lt(n)}get disabled(){return this._disabled}set disabled(n){this._disabled=Lt(n)}get primary(){return"primary"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get info(){return"info"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}get labelLeft(){return"left"===this.labelPosition}get labelRight(){return"right"===this.labelPosition}get labelStart(){return"start"===this.labelPosition}get labelEnd(){return"end"===this.labelPosition}constructor(n,s,l,g,T,we){this.changeDetector=n,this.layoutDirection=s,this.renderer=l,this.hostElement=g,this.zone=T,this.statusService=we,this.onChange=()=>{},this.onTouched=()=>{},this.destroy$=new R.x,this._checked=!1,this._disabled=!1,this.status="basic",this.labelPosition="end",this.checkedChange=new e.vpe}ngOnInit(){this.layoutDirection.onDirectionChange().pipe((0,be.R)(this.destroy$)).subscribe(()=>this.changeDetector.detectChanges())}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.hostElement.nativeElement,"nb-transition")}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkState(){return this.checked?this.layoutDirection.isLtr()?"right":"left":this.layoutDirection.isLtr()?"left":"right"}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}writeValue(n){this.checked=n,this.changeDetector.markForCheck()}setDisabledState(n){this.disabled=Lt(n),this.changeDetector.markForCheck()}updateValue(n){this.checked=n.target.checked,this.checkedChange.emit(this.checked),this.onChange(this.checked)}onInputClick(n){n.stopPropagation()}static#e=this.\u0275fac=function(s){return new(s||o)(e.Y36(e.sBO),e.Y36(Bi),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Ni))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["nb-toggle"]],hostVars:24,hostBindings:function(s,l){2&s&&(e.Tol(l.additionalClasses),e.ekj("status-primary",l.primary)("status-success",l.success)("status-warning",l.warning)("status-danger",l.danger)("status-info",l.info)("status-basic",l.basic)("status-control",l.control)("toggle-label-left",l.labelLeft)("toggle-label-right",l.labelRight)("toggle-label-start",l.labelStart)("toggle-label-end",l.labelEnd))},inputs:{checked:"checked",disabled:"disabled",status:"status",labelPosition:"labelPosition"},outputs:{checkedChange:"checkedChange"},features:[e._Bn([{provide:ke.JU,useExisting:(0,e.Gpc)(()=>o),multi:!0}])],ngContentSelectors:wi,decls:7,vars:7,consts:[[1,"toggle-label"],["type","checkbox","role","switch",1,"native-input","visually-hidden",3,"disabled","checked","change","blur","click"],[1,"toggle"],[1,"toggle-switcher"],["icon","checkmark-bold-outline","pack","nebular-essentials",4,"ngIf"],[1,"text"],["icon","checkmark-bold-outline","pack","nebular-essentials"]],template:function(s,l){1&s&&(e.F$t(),e.TgZ(0,"label",0)(1,"input",1),e.NdJ("change",function(T){return l.updateValue(T)})("blur",function(){return l.onTouched()})("click",function(T){return l.onInputClick(T)}),e.qZA(),e.TgZ(2,"div",2)(3,"span",3),e.YNc(4,Pu,1,0,"nb-icon",4),e.qZA()(),e.TgZ(5,"span",5),e.Hsn(6),e.qZA()()),2&s&&(e.xp6(),e.Q6J("disabled",l.disabled)("checked",l.checked),e.uIk("aria-checked",l.checked),e.xp6(),e.ekj("checked",l.checked),e.xp6(),e.Q6J("@position",l.checkState()),e.xp6(),e.Q6J("ngIf",l.checked))},dependencies:[F.O5,di],styles:["\n\n\n\n\n[_nghost-%COMP%]{display:inline-flex;outline:none}.toggle-label-left[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){padding-right:.6875rem}[dir=ltr] .toggle-label-left[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){order:-1}[dir=rtl] .toggle-label-left[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){order:1}.toggle-label-right[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){padding-left:.6875rem}[dir=ltr] .toggle-label-right[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){order:1}[dir=rtl] .toggle-label-right[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){order:-1}.toggle-label-start[_nghost-%COMP%] .toggle-label[_ngcontent-%COMP%]{flex-direction:row-reverse}[dir=ltr] .toggle-label-start[_nghost-%COMP%] .toggle-label[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){padding-right:.6875rem}[dir=rtl] .toggle-label-start[_nghost-%COMP%] .toggle-label[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){padding-left:.6875rem}[dir=ltr] .toggle-label-end[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){padding-left:.6875rem}[dir=rtl] .toggle-label-end[_nghost-%COMP%] .text[_ngcontent-%COMP%]:not(:empty){padding-right:.6875rem}.nb-transition[_nghost-%COMP%] .toggle[_ngcontent-%COMP%]{transition-duration:.15s;transition-property:background-color,border,box-shadow;transition-timing-function:ease-in}.toggle-label[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center}.toggle[_ngcontent-%COMP%]{position:relative;display:inline-flex;box-sizing:content-box}.toggle-switcher[_ngcontent-%COMP%]{position:absolute;border-radius:50%;margin:1px}.toggle-switcher[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}"],data:{animation:[(0,Bt.X$)("position",[(0,Bt.SB)("right",(0,Bt.oB)({right:0,left:"*"})),(0,Bt.SB)("left",(0,Bt.oB)({left:0,right:"*"})),(0,Bt.eR)(":enter",[(0,Bt.jt)(0)]),(0,Bt.eR)("right <=> left",[(0,Bt.jt)("0.15s")])])]},changeDetection:0})}return o})(),Jl=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[F.ez,Ts]})}return o})()},4611:(gt,Ce,m)=>{"use strict";m.d(Ce,{lF:()=>ni,JP:()=>sn,NO:()=>_i,ri:()=>Hi});var e=m(5861),F=m(6814),H=m(9212),R=m(8645),Q=m(3019),P=m(2096),ie=m(4825),N=m(4664),V=m(975),X=m(3997),ne=m(7081),ve=m(7921),re=m(7398),q=m(9773),le=m(1374);let J={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function oe(ft){J=ft}const fe=/[&<>"']/,Re=new RegExp(fe.source,"g"),Pe=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Te=new RegExp(Pe.source,"g"),ye={"&":"&","<":"<",">":">",'"':""","'":"'"},De=ft=>ye[ft];function Fe(ft,U){if(U){if(fe.test(ft))return ft.replace(Re,De)}else if(Pe.test(ft))return ft.replace(Te,De);return ft}const Ve=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,Ue=/(^|[^\[])\^/g;function $e(ft,U){ft="string"==typeof ft?ft:ft.source,U=U||"";const A={replace:(D,B)=>(B=(B="object"==typeof B&&"source"in B?B.source:B).replace(Ue,"$1"),ft=ft.replace(D,B),A),getRegex:()=>new RegExp(ft,U)};return A}function nt(ft){try{ft=encodeURI(ft).replace(/%25/g,"%")}catch{return null}return ft}const St={exec:()=>null};function be(ft,U){const D=ft.replace(/\|/g,(te,_e,Je)=>{let at=!1,Mt=_e;for(;--Mt>=0&&"\\"===Je[Mt];)at=!at;return at?"|":" |"}).split(/ \|/);let B=0;if(D[0].trim()||D.shift(),D.length>0&&!D[D.length-1].trim()&&D.pop(),U)if(D.length>U)D.splice(U);else for(;D.length0)return{type:"space",raw:A[0]}}code(U){const A=this.rules.block.code.exec(U);if(A){const D=A[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:A[0],codeBlockStyle:"indented",text:this.options.pedantic?D:At(D,"\n")}}}fences(U){const A=this.rules.block.fences.exec(U);if(A){const D=A[0],B=function me(ft,U){const A=ft.match(/^(\s+)(?:```)/);if(null===A)return U;const D=A[1];return U.split("\n").map(B=>{const te=B.match(/^\s+/);if(null===te)return B;const[_e]=te;return _e.length>=D.length?B.slice(D.length):B}).join("\n")}(D,A[3]||"");return{type:"code",raw:D,lang:A[2]?A[2].trim().replace(this.rules.inline._escapes,"$1"):A[2],text:B}}}heading(U){const A=this.rules.block.heading.exec(U);if(A){let D=A[2].trim();if(/#$/.test(D)){const B=At(D,"#");(this.options.pedantic||!B||/ $/.test(B))&&(D=B.trim())}return{type:"heading",raw:A[0],depth:A[1].length,text:D,tokens:this.lexer.inline(D)}}}hr(U){const A=this.rules.block.hr.exec(U);if(A)return{type:"hr",raw:A[0]}}blockquote(U){const A=this.rules.block.blockquote.exec(U);if(A){const D=At(A[0].replace(/^ *>[ \t]?/gm,""),"\n"),B=this.lexer.state.top;this.lexer.state.top=!0;const te=this.lexer.blockTokens(D);return this.lexer.state.top=B,{type:"blockquote",raw:A[0],tokens:te,text:D}}}list(U){let A=this.rules.block.list.exec(U);if(A){let D=A[1].trim();const B=D.length>1,te={type:"list",raw:"",ordered:B,start:B?+D.slice(0,-1):"",loose:!1,items:[]};D=B?`\\d{1,9}\\${D.slice(-1)}`:`\\${D}`,this.options.pedantic&&(D=B?D:"[*+-]");const _e=new RegExp(`^( {0,3}${D})((?:[\t ][^\\n]*)?(?:\\n|$))`);let Je="",at="",Mt=!1;for(;U;){let Tt=!1;if(!(A=_e.exec(U))||this.rules.block.hr.test(U))break;Je=A[0],U=U.substring(Je.length);let zt=A[2].split("\n",1)[0].replace(/^\t+/,Ui=>" ".repeat(3*Ui.length)),Ht=U.split("\n",1)[0],un=0;this.options.pedantic?(un=2,at=zt.trimStart()):(un=A[2].search(/[^ ]/),un=un>4?1:un,at=zt.slice(un),un+=A[1].length);let $n=!1;if(!zt&&/^ *$/.test(Ht)&&(Je+=Ht+"\n",U=U.substring(Ht.length+1),Tt=!0),!Tt){const Ui=new RegExp(`^ {0,${Math.min(3,un-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),ei=new RegExp(`^ {0,${Math.min(3,un-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Qt=new RegExp(`^ {0,${Math.min(3,un-1)}}(?:\`\`\`|~~~)`),ps=new RegExp(`^ {0,${Math.min(3,un-1)}}#`);for(;U;){const Fi=U.split("\n",1)[0];if(Ht=Fi,this.options.pedantic&&(Ht=Ht.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Qt.test(Ht)||ps.test(Ht)||Ui.test(Ht)||ei.test(U))break;if(Ht.search(/[^ ]/)>=un||!Ht.trim())at+="\n"+Ht.slice(un);else{if($n||zt.search(/[^ ]/)>=4||Qt.test(zt)||ps.test(zt)||ei.test(zt))break;at+="\n"+Ht}!$n&&!Ht.trim()&&($n=!0),Je+=Fi+"\n",U=U.substring(Fi.length+1),zt=Ht.slice(un)}}te.loose||(Mt?te.loose=!0:/\n *\n *$/.test(Je)&&(Mt=!0));let Si,Jn=null;this.options.gfm&&(Jn=/^\[[ xX]\] /.exec(at),Jn&&(Si="[ ] "!==Jn[0],at=at.replace(/^\[[ xX]\] +/,""))),te.items.push({type:"list_item",raw:Je,task:!!Jn,checked:Si,loose:!1,text:at,tokens:[]}),te.raw+=Je}te.items[te.items.length-1].raw=Je.trimEnd(),te.items[te.items.length-1].text=at.trimEnd(),te.raw=te.raw.trimEnd();for(let Tt=0;Tt "space"===un.type),Ht=zt.length>0&&zt.some(un=>/\n.*\n/.test(un.raw));te.loose=Ht}if(te.loose)for(let Tt=0;Tt $/,"$1").replace(this.rules.inline._escapes,"$1"):"",te=A[3]?A[3].substring(1,A[3].length-1).replace(this.rules.inline._escapes,"$1"):A[3];return{type:"def",tag:D,raw:A[0],href:B,title:te}}}table(U){const A=this.rules.block.table.exec(U);if(A){if(!/[:|]/.test(A[2]))return;const D={type:"table",raw:A[0],header:be(A[1]).map(B=>({text:B,tokens:[]})),align:A[2].replace(/^\||\| *$/g,"").split("|"),rows:A[3]&&A[3].trim()?A[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(D.header.length===D.align.length){let te,_e,Je,at,B=D.align.length;for(te=0;te({text:Mt,tokens:[]}));for(B=D.header.length,_e=0;_e/i.test(A[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(A[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(A[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:A[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:A[0]}}link(U){const A=this.rules.inline.link.exec(U);if(A){const D=A[2].trim();if(!this.options.pedantic&&/^$/.test(D))return;const _e=At(D.slice(0,-1),"\\");if((D.length-_e.length)%2==0)return}else{const _e=function dt(ft,U){if(-1===ft.indexOf(U[1]))return-1;let A=0;for(let D=0;D -1){const at=(0===A[0].indexOf("!")?5:4)+A[1].length+_e;A[2]=A[2].substring(0,_e),A[0]=A[0].substring(0,at).trim(),A[3]=""}}let B=A[2],te="";if(this.options.pedantic){const _e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(B);_e&&(B=_e[1],te=_e[3])}else te=A[3]?A[3].slice(1,-1):"";return B=B.trim(),/^$/.test(D)?B.slice(1):B.slice(1,-1)),kt(A,{href:B&&B.replace(this.rules.inline._escapes,"$1"),title:te&&te.replace(this.rules.inline._escapes,"$1")},A[0],this.lexer)}}reflink(U,A){let D;if((D=this.rules.inline.reflink.exec(U))||(D=this.rules.inline.nolink.exec(U))){let B=(D[2]||D[1]).replace(/\s+/g," ");if(B=A[B.toLowerCase()],!B){const te=D[0].charAt(0);return{type:"text",raw:te,text:te}}return kt(D,B,D[0],this.lexer)}}emStrong(U,A,D=""){let B=this.rules.inline.emStrong.lDelim.exec(U);if(!(!B||B[3]&&D.match(/[\p{L}\p{N}]/u))&&(!B[1]&&!B[2]||!D||this.rules.inline.punctuation.exec(D))){const _e=[...B[0]].length-1;let Je,at,Mt=_e,Tt=0;const zt="*"===B[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(zt.lastIndex=0,A=A.slice(-1*U.length+_e);null!=(B=zt.exec(A));){if(Je=B[1]||B[2]||B[3]||B[4]||B[5]||B[6],!Je)continue;if(at=[...Je].length,B[3]||B[4]){Mt+=at;continue}if((B[5]||B[6])&&_e%3&&!((_e+at)%3)){Tt+=at;continue}if(Mt-=at,Mt>0)continue;at=Math.min(at,at+Mt+Tt);const Ht=[...B[0]][0].length,un=U.slice(0,_e+B.index+Ht+at);if(Math.min(_e,at)%2){const Jn=un.slice(1,-1);return{type:"em",raw:un,text:Jn,tokens:this.lexer.inlineTokens(Jn)}}const $n=un.slice(2,-2);return{type:"strong",raw:un,text:$n,tokens:this.lexer.inlineTokens($n)}}}}codespan(U){const A=this.rules.inline.code.exec(U);if(A){let D=A[2].replace(/\n/g," ");const B=/[^ ]/.test(D),te=/^ /.test(D)&&/ $/.test(D);return B&&te&&(D=D.substring(1,D.length-1)),D=Fe(D,!0),{type:"codespan",raw:A[0],text:D}}}br(U){const A=this.rules.inline.br.exec(U);if(A)return{type:"br",raw:A[0]}}del(U){const A=this.rules.inline.del.exec(U);if(A)return{type:"del",raw:A[0],text:A[2],tokens:this.lexer.inlineTokens(A[2])}}autolink(U){const A=this.rules.inline.autolink.exec(U);if(A){let D,B;return"@"===A[2]?(D=Fe(A[1]),B="mailto:"+D):(D=Fe(A[1]),B=D),{type:"link",raw:A[0],text:D,href:B,tokens:[{type:"text",raw:D,text:D}]}}}url(U){let A;if(A=this.rules.inline.url.exec(U)){let D,B;if("@"===A[2])D=Fe(A[0]),B="mailto:"+D;else{let te;do{te=A[0],A[0]=this.rules.inline._backpedal.exec(A[0])[0]}while(te!==A[0]);D=Fe(A[0]),B="www."===A[1]?"http://"+A[0]:A[0]}return{type:"link",raw:A[0],text:D,href:B,tokens:[{type:"text",raw:D,text:D}]}}}inlineText(U){const A=this.rules.inline.text.exec(U);if(A){let D;return D=this.lexer.state.inRawBlock?A[0]:Fe(A[0]),{type:"text",raw:A[0],text:D}}}}const pe={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:St,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};pe.def=$e(pe.def).replace("label",pe._label).replace("title",pe._title).getRegex(),pe.bullet=/(?:[*+-]|\d{1,9}[.)])/,pe.listItemStart=$e(/^( *)(bull) */).replace("bull",pe.bullet).getRegex(),pe.list=$e(pe.list).replace(/bull/g,pe.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+pe.def.source+")").getRegex(),pe._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",pe._comment=/|$)/,pe.html=$e(pe.html,"i").replace("comment",pe._comment).replace("tag",pe._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pe.lheading=$e(pe.lheading).replace(/bull/g,pe.bullet).getRegex(),pe.paragraph=$e(pe._paragraph).replace("hr",pe.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe._tag).getRegex(),pe.blockquote=$e(pe.blockquote).replace("paragraph",pe.paragraph).getRegex(),pe.normal={...pe},pe.gfm={...pe.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},pe.gfm.table=$e(pe.gfm.table).replace("hr",pe.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe._tag).getRegex(),pe.gfm.paragraph=$e(pe._paragraph).replace("hr",pe.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",pe.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe._tag).getRegex(),pe.pedantic={...pe.normal,html:$e("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| \\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",pe._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:St,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:$e(pe.normal._paragraph).replace("hr",pe.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",pe.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Se={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:St,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:St,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~"};Se.punctuation=$e(Se.punctuation,"u").replace(/punctuation/g,Se._punctuation).getRegex(),Se.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Se.anyPunctuation=/\\[punct]/g,Se._escapes=/\\([punct])/g,Se._comment=$e(pe._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Se.emStrong.lDelim=$e(Se.emStrong.lDelim,"u").replace(/punct/g,Se._punctuation).getRegex(),Se.emStrong.rDelimAst=$e(Se.emStrong.rDelimAst,"gu").replace(/punct/g,Se._punctuation).getRegex(),Se.emStrong.rDelimUnd=$e(Se.emStrong.rDelimUnd,"gu").replace(/punct/g,Se._punctuation).getRegex(),Se.anyPunctuation=$e(Se.anyPunctuation,"gu").replace(/punct/g,Se._punctuation).getRegex(),Se._escapes=$e(Se._escapes,"gu").replace(/punct/g,Se._punctuation).getRegex(),Se._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Se._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Se.autolink=$e(Se.autolink).replace("scheme",Se._scheme).replace("email",Se._email).getRegex(),Se._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Se.tag=$e(Se.tag).replace("comment",Se._comment).replace("attribute",Se._attribute).getRegex(),Se._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Se._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Se._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Se.link=$e(Se.link).replace("label",Se._label).replace("href",Se._href).replace("title",Se._title).getRegex(),Se.reflink=$e(Se.reflink).replace("label",Se._label).replace("ref",pe._label).getRegex(),Se.nolink=$e(Se.nolink).replace("ref",pe._label).getRegex(),Se.reflinkSearch=$e(Se.reflinkSearch,"g").replace("reflink",Se.reflink).replace("nolink",Se.nolink).getRegex(),Se.normal={...Se},Se.pedantic={...Se.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:$e(/^!?\[(label)\]\((.*?)\)/).replace("label",Se._label).getRegex(),reflink:$e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Se._label).getRegex()},Se.gfm={...Se.normal,escape:$e(Se.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\at+" ".repeat(Mt.length));U;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(Je=>!!(D=Je.call({lexer:this},U,A))&&(U=U.substring(D.raw.length),A.push(D),!0)))){if(D=this.tokenizer.space(U)){U=U.substring(D.raw.length),1===D.raw.length&&A.length>0?A[A.length-1].raw+="\n":A.push(D);continue}if(D=this.tokenizer.code(U)){U=U.substring(D.raw.length),B=A[A.length-1],!B||"paragraph"!==B.type&&"text"!==B.type?A.push(D):(B.raw+="\n"+D.raw,B.text+="\n"+D.text,this.inlineQueue[this.inlineQueue.length-1].src=B.text);continue}if(D=this.tokenizer.fences(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.heading(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.hr(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.blockquote(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.list(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.html(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.def(U)){U=U.substring(D.raw.length),B=A[A.length-1],!B||"paragraph"!==B.type&&"text"!==B.type?this.tokens.links[D.tag]||(this.tokens.links[D.tag]={href:D.href,title:D.title}):(B.raw+="\n"+D.raw,B.text+="\n"+D.raw,this.inlineQueue[this.inlineQueue.length-1].src=B.text);continue}if(D=this.tokenizer.table(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.lheading(U)){U=U.substring(D.raw.length),A.push(D);continue}if(te=U,this.options.extensions&&this.options.extensions.startBlock){let Je=1/0;const at=U.slice(1);let Mt;this.options.extensions.startBlock.forEach(Tt=>{Mt=Tt.call({lexer:this},at),"number"==typeof Mt&&Mt>=0&&(Je=Math.min(Je,Mt))}),Je<1/0&&Je>=0&&(te=U.substring(0,Je+1))}if(this.state.top&&(D=this.tokenizer.paragraph(te))){B=A[A.length-1],_e&&"paragraph"===B.type?(B.raw+="\n"+D.raw,B.text+="\n"+D.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=B.text):A.push(D),_e=te.length!==U.length,U=U.substring(D.raw.length);continue}if(D=this.tokenizer.text(U)){U=U.substring(D.raw.length),B=A[A.length-1],B&&"text"===B.type?(B.raw+="\n"+D.raw,B.text+="\n"+D.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=B.text):A.push(D);continue}if(U){const Je="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(Je);break}throw new Error(Je)}}return this.state.top=!0,A}inline(U,A=[]){return this.inlineQueue.push({src:U,tokens:A}),A}inlineTokens(U,A=[]){let D,B,te,Je,at,Mt,_e=U;if(this.tokens.links){const Tt=Object.keys(this.tokens.links);if(Tt.length>0)for(;null!=(Je=this.tokenizer.rules.inline.reflinkSearch.exec(_e));)Tt.includes(Je[0].slice(Je[0].lastIndexOf("[")+1,-1))&&(_e=_e.slice(0,Je.index)+"["+"a".repeat(Je[0].length-2)+"]"+_e.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(Je=this.tokenizer.rules.inline.blockSkip.exec(_e));)_e=_e.slice(0,Je.index)+"["+"a".repeat(Je[0].length-2)+"]"+_e.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(Je=this.tokenizer.rules.inline.anyPunctuation.exec(_e));)_e=_e.slice(0,Je.index)+"++"+_e.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;U;)if(at||(Mt=""),at=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(Tt=>!!(D=Tt.call({lexer:this},U,A))&&(U=U.substring(D.raw.length),A.push(D),!0)))){if(D=this.tokenizer.escape(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.tag(U)){U=U.substring(D.raw.length),B=A[A.length-1],B&&"text"===D.type&&"text"===B.type?(B.raw+=D.raw,B.text+=D.text):A.push(D);continue}if(D=this.tokenizer.link(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.reflink(U,this.tokens.links)){U=U.substring(D.raw.length),B=A[A.length-1],B&&"text"===D.type&&"text"===B.type?(B.raw+=D.raw,B.text+=D.text):A.push(D);continue}if(D=this.tokenizer.emStrong(U,_e,Mt)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.codespan(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.br(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.del(U)){U=U.substring(D.raw.length),A.push(D);continue}if(D=this.tokenizer.autolink(U)){U=U.substring(D.raw.length),A.push(D);continue}if(!this.state.inLink&&(D=this.tokenizer.url(U))){U=U.substring(D.raw.length),A.push(D);continue}if(te=U,this.options.extensions&&this.options.extensions.startInline){let Tt=1/0;const zt=U.slice(1);let Ht;this.options.extensions.startInline.forEach(un=>{Ht=un.call({lexer:this},zt),"number"==typeof Ht&&Ht>=0&&(Tt=Math.min(Tt,Ht))}),Tt<1/0&&Tt>=0&&(te=U.substring(0,Tt+1))}if(D=this.tokenizer.inlineText(te)){U=U.substring(D.raw.length),"_"!==D.raw.slice(-1)&&(Mt=D.raw.slice(-1)),at=!0,B=A[A.length-1],B&&"text"===B.type?(B.raw+=D.raw,B.text+=D.text):A.push(D);continue}if(U){const Tt="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(Tt);break}throw new Error(Tt)}}return A}}class Xe{options;constructor(U){this.options=U||J}code(U,A,D){const B=(A||"").match(/^\S*/)?.[0];return U=U.replace(/\n$/,"")+"\n",B?' \n":"'+(D?U:Fe(U,!0))+"\n"}blockquote(U){return`"+(D?U:Fe(U,!0))+"\n${U}\n`}html(U,A){return U}heading(U,A,D){return`${U} \n`}hr(){return"
\n"}list(U,A,D){const B=A?"ol":"ul";return"<"+B+(A&&1!==D?' start="'+D+'"':"")+">\n"+U+""+B+">\n"}listitem(U,A,D){return`${U} \n`}checkbox(U){return"'}paragraph(U){return`${U}
\n`}table(U,A){return A&&(A=`${A}`),"\n\n"+U+"\n"+A+"
\n"}tablerow(U){return`\n${U} \n`}tablecell(U,A){const D=A.header?"th":"td";return(A.align?`<${D} align="${A.align}">`:`<${D}>`)+U+`${D}>\n`}strong(U){return`${U}`}em(U){return`${U}`}codespan(U){return`${U}`}br(){return"
"}del(U){return`${U}`}link(U,A,D){const B=nt(U);if(null===B)return D;let te='"+D+"",te}image(U,A,D){const B=nt(U);if(null===B)return D;let te=`",te}text(U){return U}}class Oe{strong(U){return U}em(U){return U}codespan(U){return U}del(U){return U}html(U){return U}text(U){return U}link(U,A,D){return""+D}image(U,A,D){return""+D}br(){return""}}class ct{options;renderer;textRenderer;constructor(U){this.options=U||J,this.options.renderer=this.options.renderer||new Xe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Oe}static parse(U,A){return new ct(A).parse(U)}static parseInline(U,A){return new ct(A).parseInline(U)}parse(U,A=!0){let D="";for(let B=0;B
"colon"===(A=A.toLowerCase())?":":"#"===A.charAt(0)?"x"===A.charAt(1)?String.fromCharCode(parseInt(A.substring(2),16)):String.fromCharCode(+A.substring(1)):""));continue}case"code":D+=this.renderer.code(te.text,te.lang,!!te.escaped);continue;case"table":{const _e=te;let Je="",at="";for(let Tt=0;Tt<_e.header.length;Tt++)at+=this.renderer.tablecell(this.parseInline(_e.header[Tt].tokens),{header:!0,align:_e.align[Tt]});Je+=this.renderer.tablerow(at);let Mt="";for(let Tt=0;Tt<_e.rows.length;Tt++){const zt=_e.rows[Tt];at="";for(let Ht=0;Ht 0&&"paragraph"===Ht.tokens[0].type?(Ht.tokens[0].text=Si+" "+Ht.tokens[0].text,Ht.tokens[0].tokens&&Ht.tokens[0].tokens.length>0&&"text"===Ht.tokens[0].tokens[0].type&&(Ht.tokens[0].tokens[0].text=Si+" "+Ht.tokens[0].tokens[0].text)):Ht.tokens.unshift({type:"text",text:Si+" "}):Jn+=Si+" "}Jn+=this.parse(Ht.tokens,Mt),Tt+=this.renderer.listitem(Jn,$n,!!un)}D+=this.renderer.list(Tt,Je,at);continue}case"html":D+=this.renderer.html(te.text,te.block);continue;case"paragraph":D+=this.renderer.paragraph(this.parseInline(te.tokens));continue;case"text":{let _e=te,Je=_e.tokens?this.parseInline(_e.tokens):_e.text;for(;B+1 {D=D.concat(this.walkTokens(te[_e],A))}):te.tokens&&(D=D.concat(this.walkTokens(te.tokens,A)))}}return D}use(...U){const A=this.defaults.extensions||{renderers:{},childTokens:{}};return U.forEach(D=>{const B={...D};if(B.async=this.defaults.async||B.async||!1,D.extensions&&(D.extensions.forEach(te=>{if(!te.name)throw new Error("extension name required");if("renderer"in te){const _e=A.renderers[te.name];A.renderers[te.name]=_e?function(...Je){let at=te.renderer.apply(this,Je);return!1===at&&(at=_e.apply(this,Je)),at}:te.renderer}if("tokenizer"in te){if(!te.level||"block"!==te.level&&"inline"!==te.level)throw new Error("extension level must be 'block' or 'inline'");const _e=A[te.level];_e?_e.unshift(te.tokenizer):A[te.level]=[te.tokenizer],te.start&&("block"===te.level?A.startBlock?A.startBlock.push(te.start):A.startBlock=[te.start]:"inline"===te.level&&(A.startInline?A.startInline.push(te.start):A.startInline=[te.start]))}"childTokens"in te&&te.childTokens&&(A.childTokens[te.name]=te.childTokens)}),B.extensions=A),D.renderer){const te=this.defaults.renderer||new Xe(this.defaults);for(const _e in D.renderer){const Je=D.renderer[_e],Mt=te[_e];te[_e]=(...Tt)=>{let zt=Je.apply(te,Tt);return!1===zt&&(zt=Mt.apply(te,Tt)),zt||""}}B.renderer=te}if(D.tokenizer){const te=this.defaults.tokenizer||new Be(this.defaults);for(const _e in D.tokenizer){const Je=D.tokenizer[_e],Mt=te[_e];te[_e]=(...Tt)=>{let zt=Je.apply(te,Tt);return!1===zt&&(zt=Mt.apply(te,Tt)),zt}}B.tokenizer=te}if(D.hooks){const te=this.defaults.hooks||new We;for(const _e in D.hooks){const Je=D.hooks[_e],Mt=te[_e];te[_e]=We.passThroughHooks.has(_e)?Tt=>{if(this.defaults.async)return Promise.resolve(Je.call(te,Tt)).then(Ht=>Mt.call(te,Ht));const zt=Je.call(te,Tt);return Mt.call(te,zt)}:(...Tt)=>{let zt=Je.apply(te,Tt);return!1===zt&&(zt=Mt.apply(te,Tt)),zt}}B.hooks=te}if(D.walkTokens){const te=this.defaults.walkTokens,_e=D.walkTokens;B.walkTokens=function(Je){let at=[];return at.push(_e.call(this,Je)),te&&(at=at.concat(te.call(this,Je))),at}}this.defaults={...this.defaults,...B}}),this}setOptions(U){return this.defaults={...this.defaults,...U},this}lexer(U,A){return Ee.lex(U,A??this.defaults)}parser(U,A){return ct.parse(U,A??this.defaults)}#e(U,A){return(D,B)=>{const te={...B},_e={...this.defaults,...te};!0===this.defaults.async&&!1===te.async&&(_e.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),_e.async=!0);const Je=this.#t(!!_e.silent,!!_e.async);if(typeof D>"u"||null===D)return Je(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof D)return Je(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(D)+", string expected"));if(_e.hooks&&(_e.hooks.options=_e),_e.async)return Promise.resolve(_e.hooks?_e.hooks.preprocess(D):D).then(at=>U(at,_e)).then(at=>_e.walkTokens?Promise.all(this.walkTokens(at,_e.walkTokens)).then(()=>at):at).then(at=>A(at,_e)).then(at=>_e.hooks?_e.hooks.postprocess(at):at).catch(Je);try{_e.hooks&&(D=_e.hooks.preprocess(D));const at=U(D,_e);_e.walkTokens&&this.walkTokens(at,_e.walkTokens);let Mt=A(at,_e);return _e.hooks&&(Mt=_e.hooks.postprocess(Mt)),Mt}catch(at){return Je(at)}}}#t(U,A){return D=>{if(D.message+="\nPlease report this to https://github.com/markedjs/marked.",U){const B=" An error occurred:
"+Fe(D.message+"",!0)+"";return A?Promise.resolve(B):B}if(A)return Promise.reject(D);throw D}}};function ke(ft,U){return de.parse(ft,U)}ke.options=ke.setOptions=function(ft){return de.setOptions(ft),oe(ke.defaults=de.defaults),ke},ke.getDefaults=function se(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},ke.defaults=J,ke.use=function(...ft){return de.use(...ft),oe(ke.defaults=de.defaults),ke},ke.walkTokens=function(ft,U){return de.walkTokens(ft,U)},ke.parseInline=de.parseInline,ke.Parser=ct,ke.parser=ct.parse,ke.Renderer=Xe,ke.TextRenderer=Oe,ke.Lexer=Ee,ke.lexer=Ee.lex,ke.Tokenizer=Be,ke.Hooks=We,ke.parse=ke;var bn=m(9862),rn=m(6593);const qn=["*"];let an=(()=>{class ft{constructor(){this._buttonClick$=new R.x,this.copied$=this._buttonClick$.pipe((0,N.w)(()=>(0,Q.T)((0,P.of)(!0),(0,ie.H)(3e3).pipe((0,V.h)(!1)))),(0,X.x)(),(0,ne.d)(1)),this.copiedText$=this.copied$.pipe((0,ve.O)(!1),(0,re.U)(A=>A?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(D){return new(D||ft)};static#t=this.\u0275cmp=H.Xpm({type:ft,selectors:[["markdown-clipboard"]],standalone:!0,features:[H.jDz],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(D,B){1&D&&(H.TgZ(0,"button",0),H.NdJ("click",function(){return B.onCopyToClipboardClick()}),H.ALo(1,"async"),H._uU(2),H.ALo(3,"async"),H.qZA()),2&D&&(H.ekj("copied",H.lcZ(1,3,B.copied$)),H.xp6(2),H.Oqu(H.lcZ(3,5,B.copiedText$)))},dependencies:[F.Ov],encapsulation:2,changeDetection:0})}return ft})();const zr=new H.OlP("CLIPBOARD_OPTIONS");var On=function(ft){return ft.CommandLine="command-line",ft.LineHighlight="line-highlight",ft.LineNumbers="line-numbers",ft}(On||{});const Yn=new H.OlP("MARKED_EXTENSIONS"),ar=new H.OlP("MARKED_OPTIONS"),Zn=new H.OlP("SECURITY_CONTEXT");let pi=(()=>{class ft{get options(){return this._options}set options(A){this._options={...this.DEFAULT_MARKED_OPTIONS,...A}}get renderer(){return this.options.renderer}set renderer(A){this.options.renderer=A}constructor(A,D,B,te,_e,Je,at){this.clipboardOptions=A,this.extensions=D,this.platform=te,this.securityContext=_e,this.http=Je,this.sanitizer=at,this.DEFAULT_MARKED_OPTIONS={renderer:new Xe},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new R.x,this.reload$=this._reload$.asObservable(),this.options=B}parse(A,D=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:B,inline:te,emoji:_e,mermaid:Je,disableSanitizer:at}=D,Mt={...this.options,...D.markedOptions},Tt=Mt.renderer||this.renderer||new Xe;this.extensions&&(this.renderer=this.extendsRendererForExtensions(Tt)),Je&&(this.renderer=this.extendsRendererForMermaid(Tt));const zt=this.trimIndentation(A),Ht=B?this.decodeHtml(zt):zt,un=_e?this.parseEmoji(Ht):Ht,$n=this.parseMarked(un,Mt,te);return(at?$n:this.sanitizer.sanitize(this.securityContext,$n))||""}render(A,D=this.DEFAULT_RENDER_OPTIONS,B){const{clipboard:te,clipboardOptions:_e,katex:Je,katexOptions:at,mermaid:Mt,mermaidOptions:Tt}=D;te&&this.renderClipboard(A,B,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,..._e}),Je&&this.renderKatex(A,{...this.DEFAULT_KATEX_OPTIONS,...at}),Mt&&this.renderMermaid(A,{...this.DEFAULT_MERMAID_OPTIONS,...Tt}),this.highlight(A)}reload(){this._reload$.next()}getSource(A){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(A,{responseType:"text"}).pipe((0,re.U)(D=>this.handleExtension(A,D)))}highlight(A){if(!(0,F.NF)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;A||(A=document);const D=A.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(D,B=>B.classList.add("language-none")),Prism.highlightAllUnder(A)}decodeHtml(A){if(!(0,F.NF)(this.platform))return A;const D=document.createElement("textarea");return D.innerHTML=A,D.value}extendsRendererForExtensions(A){const D=A;return!0===D.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&ke.use(...this.extensions),D.\u0275NgxMarkdownRendererExtendedForExtensions=!0),A}extendsRendererForMermaid(A){const D=A;if(!0===D.\u0275NgxMarkdownRendererExtendedForMermaid)return A;const B=A.code;return A.code=function(te,_e,Je){return"mermaid"===_e?`${te}`:B.call(this,te,_e,Je)},D.\u0275NgxMarkdownRendererExtendedForMermaid=!0,A}handleExtension(A,D){const B=A.lastIndexOf("://"),te=B>-1?A.substring(B+4):A,_e=te.lastIndexOf("/"),Je=_e>-1?te.substring(_e+1).split("?")[0]:"",at=Je.lastIndexOf("."),Mt=at>-1?Je.substring(at+1):"";return Mt&&"md"!==Mt?"```"+Mt+"\n"+D+"\n```":D}parseMarked(A,D,B=!1){return D.renderer&&(ke.use({renderer:D.renderer}),delete D.renderer),B?ke.parseInline(A,D):ke.parse(A,D)}parseEmoji(A){if(!(0,F.NF)(this.platform))return A;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(A)}renderKatex(A,D){if((0,F.NF)(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(A,D)}}renderClipboard(A,D,B){if(!(0,F.NF)(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!D)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:te,buttonTemplate:_e}=B,Je=A.querySelectorAll("pre");for(let at=0;atzt.style.opacity="1",Mt.onmouseout=()=>zt.style.opacity="0",Ht=te?D.createComponent(te).hostView:_e?D.createEmbeddedView(_e):D.createComponent(an).hostView,Ht.rootNodes.forEach($n=>{$n.onmouseover=()=>zt.style.opacity="1",zt.appendChild($n),un=new ClipboardJS($n,{text:()=>Mt.innerText})}),Ht.onDestroy(()=>un.destroy())}}renderMermaid(A,D=this.DEFAULT_MERMAID_OPTIONS){if(!(0,F.NF)(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const B=A.querySelectorAll(".mermaid");0!==B.length&&(mermaid.initialize(D),mermaid.run({nodes:B}))}trimIndentation(A){if(!A)return"";let D;return A.split("\n").map(B=>{let te=D;return B.length>0&&(te=isNaN(te)?B.search(/\S|$/):Math.min(B.search(/\S|$/),te)),isNaN(D)&&(D=te),te?B.substring(te):B}).join("\n")}static#e=this.\u0275fac=function(D){return new(D||ft)(H.LFG(zr,8),H.LFG(Yn,8),H.LFG(ar,8),H.LFG(H.Lbi),H.LFG(Zn),H.LFG(bn.eN,8),H.LFG(rn.H7))};static#t=this.\u0275prov=H.Yz7({token:ft,factory:ft.\u0275fac})}return ft})(),ni=(()=>{class ft{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(A){this._disableSanitizer=this.coerceBooleanProperty(A)}get inline(){return this._inline}set inline(A){this._inline=this.coerceBooleanProperty(A)}get clipboard(){return this._clipboard}set clipboard(A){this._clipboard=this.coerceBooleanProperty(A)}get emoji(){return this._emoji}set emoji(A){this._emoji=this.coerceBooleanProperty(A)}get katex(){return this._katex}set katex(A){this._katex=this.coerceBooleanProperty(A)}get mermaid(){return this._mermaid}set mermaid(A){this._mermaid=this.coerceBooleanProperty(A)}get lineHighlight(){return this._lineHighlight}set lineHighlight(A){this._lineHighlight=this.coerceBooleanProperty(A)}get lineNumbers(){return this._lineNumbers}set lineNumbers(A){this._lineNumbers=this.coerceBooleanProperty(A)}get commandLine(){return this._commandLine}set commandLine(A){this._commandLine=this.coerceBooleanProperty(A)}constructor(A,D,B){this.element=A,this.markdownService=D,this.viewContainerRef=B,this.error=new H.vpe,this.load=new H.vpe,this.ready=new H.vpe,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new R.x}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe((0,q.R)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(A,D=!1){var B=this;return(0,e.Z)(function*(){const te={decodeHtml:D,inline:B.inline,emoji:B.emoji,mermaid:B.mermaid,disableSanitizer:B.disableSanitizer},_e={clipboard:B.clipboard,clipboardOptions:{buttonComponent:B.clipboardButtonComponent,buttonTemplate:B.clipboardButtonTemplate},katex:B.katex,katexOptions:B.katexOptions,mermaid:B.mermaid,mermaidOptions:B.mermaidOptions},Je=yield B.markdownService.parse(A,te);B.element.nativeElement.innerHTML=Je,B.handlePlugins(),B.markdownService.render(B.element.nativeElement,_e,B.viewContainerRef),B.ready.emit()})()}coerceBooleanProperty(A){return null!=A&&"false"!=`${String(A)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:A=>{this.render(A).then(()=>{this.load.emit(A)})},error:A=>this.error.emit(A)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,On.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,On.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(A,D){const B=A.querySelectorAll("pre");for(let te=0;te {const Je=D[_e];if(Je){const at=this.toLispCase(_e);B.item(te).setAttribute(at,Je.toString())}})}toLispCase(A){const D=A.match(/([A-Z])/g);if(!D)return A;let B=A.toString();for(let te=0,_e=D.length;te<_e;te++)B=B.replace(new RegExp(D[te]),"-"+D[te].toLowerCase());return"-"===B.slice(0,1)&&(B=B.slice(1)),B}static#e=this.\u0275fac=function(D){return new(D||ft)(H.Y36(H.SBq),H.Y36(pi),H.Y36(H.s_b))};static#t=this.\u0275cmp=H.Xpm({type:ft,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},standalone:!0,features:[H.TTD,H.jDz],ngContentSelectors:qn,decls:1,vars:0,template:function(D,B){1&D&&(H.F$t(),H.Hsn(0))},encapsulation:2})}return ft})(),_i=(()=>{class ft{constructor(A,D,B,te,_e){this.domSanitizer=A,this.elementRef=D,this.markdownService=B,this.viewContainerRef=te,this.zone=_e}transform(A,D){var B=this;return(0,e.Z)(function*(){if(null==A)return"";if("string"!=typeof A)return console.error(`MarkdownPipe has been invoked with an invalid value type [${typeof A}]`),A;const te=yield B.markdownService.parse(A,D);return B.zone.onStable.pipe((0,le.P)()).subscribe(()=>B.markdownService.render(B.elementRef.nativeElement,D,B.viewContainerRef)),B.domSanitizer.bypassSecurityTrustHtml(te)})()}static#e=this.\u0275fac=function(D){return new(D||ft)(H.Y36(rn.H7,16),H.Y36(H.SBq,16),H.Y36(pi,16),H.Y36(H.s_b,16),H.Y36(H.R0b,16))};static#t=this.\u0275pipe=H.Yjl({name:"markdown",type:ft,pure:!0,standalone:!0})}return ft})();function Hi(ft){return[pi,ft?.loader??[],ft?.clipboardOptions??[],ft?.markedOptions??[],{provide:Yn,useValue:ft?.markedExtensions??[]},{provide:Zn,useValue:ft?.sanitize??H.q3G.HTML}]}let sn=(()=>{class ft{static forRoot(A){return{ngModule:ft,providers:[Hi(A)]}}static forChild(){return{ngModule:ft}}static#e=this.\u0275fac=function(D){return new(D||ft)};static#t=this.\u0275mod=H.oAB({type:ft});static#n=this.\u0275inj=H.cJS({imports:[F.ez]})}return ft})();var Vr;!function(ft){let U;var B;let A,D;(B=U=ft.SecurityLevel||(ft.SecurityLevel={})).Strict="strict",B.Loose="loose",B.Antiscript="antiscript",B.Sandbox="sandbox",function(B){B.Base="base",B.Forest="forest",B.Dark="dark",B.Default="default",B.Neutral="neutral"}(A=ft.Theme||(ft.Theme={})),function(B){B[B.Debug=1]="Debug",B[B.Info=2]="Info",B[B.Warn=3]="Warn",B[B.Error=4]="Error",B[B.Fatal=5]="Fatal"}(D=ft.LogLevel||(ft.LogLevel={}))}(Vr||(Vr={}))},5861:(gt,Ce,m)=>{"use strict";function e(H,R,Q,P,ie,N,V){try{var X=H[N](V),ne=X.value}catch(ve){return void Q(ve)}X.done?R(ne):Promise.resolve(ne).then(P,ie)}function F(H){return function(){var R=this,Q=arguments;return new Promise(function(P,ie){var N=H.apply(R,Q);function V(ne){e(N,P,ie,V,X,"next",ne)}function X(ne){e(N,P,ie,V,X,"throw",ne)}V(void 0)})}}m.d(Ce,{Z:()=>F})},7582:(gt,Ce,m)=>{"use strict";function ve(me,Be,pe,Se){return new(pe||(pe=Promise))(function(Xe,Oe){function ct(de){try{qe(Se.next(de))}catch(ke){Oe(ke)}}function We(de){try{qe(Se.throw(de))}catch(ke){Oe(ke)}}function qe(de){de.done?Xe(de.value):function Ee(Xe){return Xe instanceof pe?Xe:new pe(function(Oe){Oe(Xe)})}(de.value).then(ct,We)}qe((Se=Se.apply(me,Be||[])).next())})}function Pe(me){return this instanceof Pe?(this.v=me,this):new Pe(me)}function Te(me,Be,pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ee,Se=pe.apply(me,Be||[]),Xe=[];return Ee={},Oe("next"),Oe("throw"),Oe("return"),Ee[Symbol.asyncIterator]=function(){return this},Ee;function Oe(Ke){Se[Ke]&&(Ee[Ke]=function(it){return new Promise(function(rt,Ct){Xe.push([Ke,it,rt,Ct])>1||ct(Ke,it)})})}function ct(Ke,it){try{!function We(Ke){Ke.value instanceof Pe?Promise.resolve(Ke.value.v).then(qe,de):ke(Xe[0][2],Ke)}(Se[Ke](it))}catch(rt){ke(Xe[0][3],rt)}}function qe(Ke){ct("next",Ke)}function de(Ke){ct("throw",Ke)}function ke(Ke,it){Ke(it),Xe.shift(),Xe.length&&ct(Xe[0][0],Xe[0][1])}}function De(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,Be=me[Symbol.asyncIterator];return Be?Be.call(me):(me=function se(me){var Be="function"==typeof Symbol&&Symbol.iterator,pe=Be&&me[Be],Se=0;if(pe)return pe.call(me);if(me&&"number"==typeof me.length)return{next:function(){return me&&Se>=me.length&&(me=void 0),{value:me&&me[Se++],done:!me}}};throw new TypeError(Be?"Object is not iterable.":"Symbol.iterator is not defined.")}(me),pe={},Se("next"),Se("throw"),Se("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function Se(Xe){pe[Xe]=me[Xe]&&function(Oe){return new Promise(function(ct,We){!function Ee(Xe,Oe,ct,We){Promise.resolve(We).then(function(qe){Xe({value:qe,done:ct})},Oe)}(ct,We,(Oe=me[Xe](Oe)).done,Oe.value)})}}}m.d(Ce,{FC:()=>Te,KL:()=>De,mG:()=>ve,qq:()=>Pe}),"function"==typeof SuppressedError&&SuppressedError}},gt=>{var Ce=e=>gt(gt.s=e);Ce(9334),Ce(142)}]);